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=1480
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1500", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1460", "results": [ { "id": 3603, "ctype": "geo.room", "presentation": "MC1.A.EG.007: Hörsaal MC 1 (HS) (EG01)\n", "level_id": 2, "room_id": 3603 }, { "id": 677, "ctype": "geo.room", "presentation": "MC1.B.06.032: Versorgungsraum (-80°C-Freezer, N-Dewar) (OG06)\n", "level_id": 1, "room_id": 677 }, { "id": 2595, "ctype": "geo.room", "presentation": "MC1.G.U1.011: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 2595 }, { "id": 2630, "ctype": "geo.room", "presentation": "MC1.F.U1.013: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 2630 }, { "id": 2665, "ctype": "geo.room", "presentation": "MC1.D.U1.018: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 2665 }, { "id": 2675, "ctype": "geo.room", "presentation": "MC1.E.U1.011: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 2675 }, { "id": 2727, "ctype": "geo.room", "presentation": "MC1.B.04.023: Bakteriologie Harn-Labor 1 (OG04)\n", "level_id": 4, "room_id": 2727 }, { "id": 2728, "ctype": "geo.room", "presentation": "MC1.B.04.022: Bakteriologie Harn-Labor 2 (OG04)\n", "level_id": 4, "room_id": 2728 }, { "id": 3277, "ctype": "geo.room", "presentation": "MC1.C.U1.040: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 3277 }, { "id": 3321, "ctype": "geo.room", "presentation": "MC1.B.U1.013: Technikraum: Schacht für TGA (UG01)\n", "level_id": 8, "room_id": 3321 }, { "id": 2610, "ctype": "geo.room", "presentation": "MC1.F.U1.040: Entsorgung Säuren/Laugen (VEXAT) (UG01)\n", "level_id": 8, "room_id": 2610 }, { "id": 268, "ctype": "geo.room", "presentation": "MC1.G.06.008: Gitterrost/Technikraum: Schacht für TGA (OG06)\n", "level_id": 1, "room_id": 268 }, { "id": 539, "ctype": "geo.room", "presentation": "MC1.F.06.014: Gitterrost/Technikraum: Schacht für TGA (OG06)\n", "level_id": 1, "room_id": 539 }, { "id": 564, "ctype": "geo.room", "presentation": "MC1.D.06.029: Leitung - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 564 }, { "id": 566, "ctype": "geo.room", "presentation": "MC1.D.06.031: Mitarbeiter - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 566 }, { "id": 567, "ctype": "geo.room", "presentation": "MC1.D.06.032: Mitarbeiter - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 567 }, { "id": 568, "ctype": "geo.room", "presentation": "MC1.D.06.033: Mitarbeiter - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 568 }, { "id": 569, "ctype": "geo.room", "presentation": "MC1.D.06.034: Mitarbeiter - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 569 }, { "id": 610, "ctype": "geo.room", "presentation": "MC1.D.06.019: ZMF II - Labor (OG06)\n", "level_id": 1, "room_id": 610 }, { "id": 611, "ctype": "geo.room", "presentation": "MC1.D.06.018: Forschung Mikrodissektion + Slidescanner (OG06)\n", "level_id": 1, "room_id": 611 } ] }