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=800
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=820", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=780", "results": [ { "id": 3377, "ctype": "geo.room", "presentation": "MC1.D.02.004: Gang (OG02)\n", "level_id": 6, "room_id": 3377 }, { "id": 3391, "ctype": "geo.room", "presentation": "MC1.G.01.004: Kommunikationsknoten (OG01)\n", "level_id": 7, "room_id": 3391 }, { "id": 3516, "ctype": "geo.room", "presentation": "MC1.G.EG.005: Fahrradabstellraum (EG01)\n", "level_id": 2, "room_id": 3516 }, { "id": 3523, "ctype": "geo.room", "presentation": "MC1.G.EG.007: Putzraum (EG01)\n", "level_id": 2, "room_id": 3523 }, { "id": 3546, "ctype": "geo.room", "presentation": "MC1.F.EG.025: Poststelle (EG01)\n", "level_id": 2, "room_id": 3546 }, { "id": 3588, "ctype": "geo.room", "presentation": "MC1.A.EG.024: Putzraum (EG01)\n", "level_id": 2, "room_id": 3588 }, { "id": 3618, "ctype": "geo.room", "presentation": "MC1.B.EG.031: Putzraum (EG01)\n", "level_id": 2, "room_id": 3618 }, { "id": 2598, "ctype": "geo.room", "presentation": "MC1.G.U1.001: Stiege G (UG01)\n", "level_id": 8, "room_id": 2598 }, { "id": 2602, "ctype": "geo.room", "presentation": "MC1.F.U1.028: Übergabestation Rohrpost (UG01)\n", "level_id": 8, "room_id": 2602 }, { "id": 2607, "ctype": "geo.room", "presentation": "MC1.F.U1.038: Schleuse Zentrallager (UG01)\n", "level_id": 8, "room_id": 2607 }, { "id": 2617, "ctype": "geo.room", "presentation": "MC1.F.U1.016: Technik Mittelspannungsanlage (UG01)\n", "level_id": 8, "room_id": 2617 }, { "id": 2625, "ctype": "geo.room", "presentation": "MC1.F.U1.025: Abluftöffnung Trafoboxen (UG01)\n", "level_id": 8, "room_id": 2625 }, { "id": 2639, "ctype": "geo.room", "presentation": "MC1.D.U1.029: Lüftungszentrale klein (UG01)\n", "level_id": 8, "room_id": 2639 }, { "id": 2648, "ctype": "geo.room", "presentation": "MC1.D.U1.027: Technik Laborkühlwasser (UG01)\n", "level_id": 8, "room_id": 2648 }, { "id": 2651, "ctype": "geo.room", "presentation": "MC1.D.U1.027: Technik Laborkühlwasser (UG01)\n", "level_id": 8, "room_id": 2651 }, { "id": 2660, "ctype": "geo.room", "presentation": "MC1.D.U1.014: WC D (UG01)\n", "level_id": 8, "room_id": 2660 }, { "id": 2661, "ctype": "geo.room", "presentation": "MC1.D.U1.016: WC H (UG01)\n", "level_id": 8, "room_id": 2661 }, { "id": 2664, "ctype": "geo.room", "presentation": "MC1.D.U1.017: Lüftungszentrale groß (UG01)\n", "level_id": 8, "room_id": 2664 }, { "id": 2678, "ctype": "geo.room", "presentation": "MC1.E.U1.014: Tiefgarage Fahrgasse (UG01)\n", "level_id": 8, "room_id": 2678 }, { "id": 3271, "ctype": "geo.room", "presentation": "MC1.C.U1.044: Abströmschacht DBL (UG01)\n", "level_id": 8, "room_id": 3271 } ] }