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=520
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=540", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=500", "results": [ { "id": 3813, "ctype": "geo.room", "presentation": "MC1.E.05.017: Sensomotorik-Labor (OG05)\n", "level_id": 3, "room_id": 3813 }, { "id": 3814, "ctype": "geo.room", "presentation": "MC1.E.05.018: Sensomotorik-Labor (OG05)\n", "level_id": 3, "room_id": 3814 }, { "id": 3815, "ctype": "geo.room", "presentation": "MC1.E.05.016: S2-Labor (OG05)\n", "level_id": 3, "room_id": 3815 }, { "id": 3816, "ctype": "geo.room", "presentation": "MC1.E.05.013: S2-Labor (OG05)\n", "level_id": 3, "room_id": 3816 }, { "id": 3817, "ctype": "geo.room", "presentation": "MC1.E.05.011: S2-Labor (OG05)\n", "level_id": 3, "room_id": 3817 }, { "id": 3818, "ctype": "geo.room", "presentation": "MC1.E.05.015: S2-Labor (OG05)\n", "level_id": 3, "room_id": 3818 }, { "id": 3819, "ctype": "geo.room", "presentation": "- (OG05)\n", "level_id": 3, "room_id": 3819 }, { "id": 3824, "ctype": "geo.room", "presentation": "MC1.D.05.009: Kommunikationsknoten (OG05)\n", "level_id": 3, "room_id": 3824 }, { "id": 3834, "ctype": "geo.room", "presentation": "MC1.D.05.014: Lager (OG05)\n", "level_id": 3, "room_id": 3834 }, { "id": 3850, "ctype": "geo.room", "presentation": "MC1.D.05.010: Kopiernische (OG05)\n", "level_id": 3, "room_id": 3850 }, { "id": 3854, "ctype": "geo.room", "presentation": "MC1.D.05.022: Besprechungsraum (OG05)\n", "level_id": 3, "room_id": 3854 }, { "id": 5926, "ctype": "geo.room", "presentation": "MC1.C.05.005: Kopiernische (OG05)\n", "level_id": 3, "room_id": 5926 }, { "id": 5927, "ctype": "geo.room", "presentation": "MC1.C.05.006: Kopiernische (OG05)\n", "level_id": 3, "room_id": 5927 }, { "id": 6088, "ctype": "geo.room", "presentation": "- (OG02)\n", "level_id": 6, "room_id": 6088 }, { "id": 6481, "ctype": "geo.room", "presentation": "- (OG02)\n", "level_id": 6, "room_id": 6481 }, { "id": 6482, "ctype": "geo.room", "presentation": "- (OG02)\n", "level_id": 6, "room_id": 6482 }, { "id": 6483, "ctype": "geo.room", "presentation": "- (OG02)\n", "level_id": 6, "room_id": 6483 }, { "id": 6484, "ctype": "geo.room", "presentation": "- (OG02)\n", "level_id": 6, "room_id": 6484 }, { "id": 6486, "ctype": "geo.room", "presentation": "MC1.F.04.008: Kommunikationsknoten (OG04)\n", "level_id": 4, "room_id": 6486 }, { "id": 6488, "ctype": "geo.room", "presentation": "- (EG01)\n", "level_id": 2, "room_id": 6488 } ] }