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=760
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=780", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=740", "results": [ { "id": 2623, "ctype": "geo.room", "presentation": "MC1.F.U1.023: Trafobox 4 (UG01)\n", "level_id": 8, "room_id": 2623 }, { "id": 2624, "ctype": "geo.room", "presentation": "MC1.F.U1.024: Trafobox 5 (UG01)\n", "level_id": 8, "room_id": 2624 }, { "id": 2656, "ctype": "geo.room", "presentation": "MC1.B.04.025: Plattengießraum (OG04)\n", "level_id": 4, "room_id": 2656 }, { "id": 2684, "ctype": "geo.room", "presentation": "MC1.B.04.027: Labor (OG04)\n", "level_id": 4, "room_id": 2684 }, { "id": 2687, "ctype": "geo.room", "presentation": "MC1.B.04.030: Lager (OG04)\n", "level_id": 4, "room_id": 2687 }, { "id": 2688, "ctype": "geo.room", "presentation": "MC1.B.04.031: Chemikalienraum (OG04)\n", "level_id": 4, "room_id": 2688 }, { "id": 2689, "ctype": "geo.room", "presentation": "MC1.B.04.032: Forschungslabor (OG04)\n", "level_id": 4, "room_id": 2689 }, { "id": 2690, "ctype": "geo.room", "presentation": "MC1.B.04.033: Parasitologie (OG04)\n", "level_id": 4, "room_id": 2690 }, { "id": 2691, "ctype": "geo.room", "presentation": "MC1.B.04.034: Mykologie (OG04)\n", "level_id": 4, "room_id": 2691 }, { "id": 2716, "ctype": "geo.room", "presentation": "MC1.B.04.046: Mykologie (OG04)\n", "level_id": 4, "room_id": 2716 }, { "id": 2725, "ctype": "geo.room", "presentation": "MC1.B.04.026: Vorbereitungsraum (OG04)\n", "level_id": 4, "room_id": 2725 }, { "id": 2730, "ctype": "geo.room", "presentation": "MC1.B.04.021: Bakteriologie (OG04)\n", "level_id": 4, "room_id": 2730 }, { "id": 2732, "ctype": "geo.room", "presentation": "MC1.B.04.019: Lager (OG04)\n", "level_id": 4, "room_id": 2732 }, { "id": 2740, "ctype": "geo.room", "presentation": "MC1.B.04.009: Lagerschrank (OG04)\n", "level_id": 4, "room_id": 2740 }, { "id": 2743, "ctype": "geo.room", "presentation": "MC1.B.04.017: Bakteriologie (OG04)\n", "level_id": 4, "room_id": 2743 }, { "id": 2746, "ctype": "geo.room", "presentation": "MC1.B.04.016: Mikroskopierraum (OG04)\n", "level_id": 4, "room_id": 2746 }, { "id": 2814, "ctype": "geo.room", "presentation": "MC1.C.04.006: Büro (OG04)\n", "level_id": 4, "room_id": 2814 }, { "id": 2815, "ctype": "geo.room", "presentation": "MC1.C.04.007: Büro (OG04)\n", "level_id": 4, "room_id": 2815 }, { "id": 2816, "ctype": "geo.room", "presentation": "MC1.C.04.008: Büro (OG04)\n", "level_id": 4, "room_id": 2816 }, { "id": 2918, "ctype": "geo.room", "presentation": "MC1.F.03.021: Zellbiologie-Elisa (OG03)\n", "level_id": 5, "room_id": 2918 } ] }