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.Personcampusonline.Roomcampusonline.Studentgeo.Roomstructure.Organizationstructure.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=660
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=680", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=640", "results": [ { "id": 3644, "ctype": "geo.room", "presentation": "MC1.B.EG.015: Imaging-Labor (EG01)\n", "level_id": 2, "room_id": 3644 }, { "id": 3806, "ctype": "geo.room", "presentation": "MC1.E.05.025: Putzraum (OG05)\n", "level_id": 3, "room_id": 3806 }, { "id": 2583, "ctype": "geo.room", "presentation": "MC1.G.U1.016: Möbellager (UG01)\n", "level_id": 8, "room_id": 2583 }, { "id": 2592, "ctype": "geo.room", "presentation": "MC1.G.U1.012: Putzmittellager (UG01)\n", "level_id": 8, "room_id": 2592 }, { "id": 2646, "ctype": "geo.room", "presentation": "MC1.D.U1.004: Gang (UG01)\n", "level_id": 8, "room_id": 2646 }, { "id": 2667, "ctype": "geo.room", "presentation": "MC1.D.U1.019: Lager (UG01)\n", "level_id": 8, "room_id": 2667 }, { "id": 3177, "ctype": "geo.room", "presentation": "MC1.C.U1.023: Trockenlager (UG01)\n", "level_id": 8, "room_id": 3177 }, { "id": 3198, "ctype": "geo.room", "presentation": "MC1.C.U1.005: Reinigungsmaschinenlager (UG01)\n", "level_id": 8, "room_id": 3198 }, { "id": 3267, "ctype": "geo.room", "presentation": "MC1.C.U1.006: Moppwaschküche (UG01)\n", "level_id": 8, "room_id": 3267 }, { "id": 3269, "ctype": "geo.room", "presentation": "MC1.C.U1.006: Moppwaschküche (UG01)\n", "level_id": 8, "room_id": 3269 }, { "id": 280, "ctype": "geo.room", "presentation": "MC1.G.06.001: Stiege G (OG06)\n", "level_id": 1, "room_id": 280 }, { "id": 553, "ctype": "geo.room", "presentation": "MC1.C.06.001: Stiege C (OG06)\n", "level_id": 1, "room_id": 553 }, { "id": 574, "ctype": "geo.room", "presentation": "MC1.D.06.001: Stiege D (OG06)\n", "level_id": 1, "room_id": 574 }, { "id": 587, "ctype": "geo.room", "presentation": "MC1.F.06.001: Stiege F (OG06)\n", "level_id": 1, "room_id": 587 }, { "id": 630, "ctype": "geo.room", "presentation": "MC1.E.06.001: Stiege E (OG06)\n", "level_id": 1, "room_id": 630 }, { "id": 665, "ctype": "geo.room", "presentation": "MC1.B.06.001: Stiege B (OG06)\n", "level_id": 1, "room_id": 665 }, { "id": 2568, "ctype": "geo.room", "presentation": "MC1.F.03.001: Stiege F (OG03)\n", "level_id": 5, "room_id": 2568 }, { "id": 2695, "ctype": "geo.room", "presentation": "MC1.G.04.001: Stiege G (OG04)\n", "level_id": 4, "room_id": 2695 }, { "id": 2734, "ctype": "geo.room", "presentation": "MC1.B.04.001: Stiege B (OG04)\n", "level_id": 4, "room_id": 2734 }, { "id": 2751, "ctype": "geo.room", "presentation": "MC1.G.03.001: Stiege G (OG03)\n", "level_id": 5, "room_id": 2751 } ] }