Autocomplete List
Get autocomplete suggestions for geographic objects:
.../?q=<Word>
To limit results to certain models use the m
parameter:
.../?q=<Word>&m=<Model>,<Model>,...
Possible models are currently:
campusonline.Person
campusonline.Room
campusonline.Student
geo.Room
structure.Organization
structure.Person
The ctype
property determines the content type of each suggested item.
This can be used to do further queries at other endpoints.
GET /v1/api/autocomplete/?format=api&offset=280
https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=300", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=260", "results": [ { "id": 629, "ctype": "geo.room", "presentation": "- (OG06)\n", "level_id": 1, "room_id": 629 }, { "id": 631, "ctype": "geo.room", "presentation": "- (OG06)\n", "level_id": 1, "room_id": 631 }, { "id": 651, "ctype": "geo.room", "presentation": "- (OG06)\n", "level_id": 1, "room_id": 651 }, { "id": 653, "ctype": "geo.room", "presentation": "- (OG06)\n", "level_id": 1, "room_id": 653 }, { "id": 654, "ctype": "geo.room", "presentation": "- (OG06)\n", "level_id": 1, "room_id": 654 }, { "id": 2569, "ctype": "geo.room", "presentation": "- (OG03)\n", "level_id": 5, "room_id": 2569 }, { "id": 2570, "ctype": "geo.room", "presentation": "- (OG03)\n", "level_id": 5, "room_id": 2570 }, { "id": 2573, "ctype": "geo.room", "presentation": "- (UG01)\n", "level_id": 8, "room_id": 2573 }, { "id": 2576, "ctype": "geo.room", "presentation": "MC1.G.U1.003: Gang (UG01)\n", "level_id": 8, "room_id": 2576 }, { "id": 2577, "ctype": "geo.room", "presentation": "MC1.G.U1.004: Gang (UG01)\n", "level_id": 8, "room_id": 2577 }, { "id": 2588, "ctype": "geo.room", "presentation": "- (UG01)\n", "level_id": 8, "room_id": 2588 }, { "id": 2597, "ctype": "geo.room", "presentation": "MC1.G.U1.009: Technik (UG01)\n", "level_id": 8, "room_id": 2597 }, { "id": 2599, "ctype": "geo.room", "presentation": "- (UG01)\n", "level_id": 8, "room_id": 2599 }, { "id": 2601, "ctype": "geo.room", "presentation": "MC1.F.U1.004: Logistiktunnel (UG01)\n", "level_id": 8, "room_id": 2601 }, { "id": 2604, "ctype": "geo.room", "presentation": "- (UG01)\n", "level_id": 8, "room_id": 2604 }, { "id": 2616, "ctype": "geo.room", "presentation": "MC1.F.U1.005: Gang (UG01)\n", "level_id": 8, "room_id": 2616 }, { "id": 2618, "ctype": "geo.room", "presentation": "MC1.F.U1.017: Kompensationsraum (UG01)\n", "level_id": 8, "room_id": 2618 }, { "id": 2637, "ctype": "geo.room", "presentation": "- (UG01)\n", "level_id": 8, "room_id": 2637 }, { "id": 2647, "ctype": "geo.room", "presentation": "MC1.D.U1.028: Druckluftzentrale (UG01)\n", "level_id": 8, "room_id": 2647 }, { "id": 2650, "ctype": "geo.room", "presentation": "MC1.D.U1.028: Druckluftzentrale (UG01)\n", "level_id": 8, "room_id": 2650 } ] }{ "count": 18715, "next": "