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=640
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=660", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=620", "results": [ { "id": 3169, "ctype": "geo.room", "presentation": "MC1.F.02.008: Kommunikationsknoten (OG02)\n", "level_id": 6, "room_id": 3169 }, { "id": 3337, "ctype": "geo.room", "presentation": "MC1.F.02.021: Spülküche (OG02)\n", "level_id": 6, "room_id": 3337 }, { "id": 3339, "ctype": "geo.room", "presentation": "MC1.F.02.025: Probenvorbereitung (OG02)\n", "level_id": 6, "room_id": 3339 }, { "id": 3340, "ctype": "geo.room", "presentation": "MC1.F.02.026: Probenvorbereitung (OG02)\n", "level_id": 6, "room_id": 3340 }, { "id": 3341, "ctype": "geo.room", "presentation": "MC1.F.02.027: Dunkelentwicklung (OG02)\n", "level_id": 6, "room_id": 3341 }, { "id": 3342, "ctype": "geo.room", "presentation": "MC1.F.02.028: Ultramikrotomie (OG02)\n", "level_id": 6, "room_id": 3342 }, { "id": 3343, "ctype": "geo.room", "presentation": "MC1.F.02.023: Probenvorbereitung (OG02)\n", "level_id": 6, "room_id": 3343 }, { "id": 3344, "ctype": "geo.room", "presentation": "MC1.F.02.024: Probenvorbereitung (OG02)\n", "level_id": 6, "room_id": 3344 }, { "id": 3376, "ctype": "geo.room", "presentation": "MC1.D.02.014: Putzraum (OG02)\n", "level_id": 6, "room_id": 3376 }, { "id": 3402, "ctype": "geo.room", "presentation": "MC1.G.01.026: Lager (OG01)\n", "level_id": 7, "room_id": 3402 }, { "id": 3413, "ctype": "geo.room", "presentation": "MC1.F.01.008: Putzraum (OG01)\n", "level_id": 7, "room_id": 3413 }, { "id": 3446, "ctype": "geo.room", "presentation": "MC1.A.01.008: Lager (OG01)\n", "level_id": 7, "room_id": 3446 }, { "id": 3452, "ctype": "geo.room", "presentation": "MC1.A.01.012: Putzraum (OG01)\n", "level_id": 7, "room_id": 3452 }, { "id": 3502, "ctype": "geo.room", "presentation": "MC1.B.01.030: Putzraum (OG01)\n", "level_id": 7, "room_id": 3502 }, { "id": 3555, "ctype": "geo.room", "presentation": "MC1.F.EG.018: Lackierraum (EG01)\n", "level_id": 2, "room_id": 3555 }, { "id": 3600, "ctype": "geo.room", "presentation": "MC1.A.EG.032: IT-Lagerraum (EG01)\n", "level_id": 2, "room_id": 3600 }, { "id": 3639, "ctype": "geo.room", "presentation": "MC1.B.EG.011: CTC-Labor (EG01)\n", "level_id": 2, "room_id": 3639 }, { "id": 3640, "ctype": "geo.room", "presentation": "MC1.B.EG.012: Post-PCR (EG01)\n", "level_id": 2, "room_id": 3640 }, { "id": 3641, "ctype": "geo.room", "presentation": "MC1.B.EG.013: PRÄ-PCR (EG01)\n", "level_id": 2, "room_id": 3641 }, { "id": 3643, "ctype": "geo.room", "presentation": "MC1.B.EG.016: RNA-Labor (EG01)\n", "level_id": 2, "room_id": 3643 } ] }