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=1180
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1200", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1160", "results": [ { "id": 3825, "ctype": "geo.room", "presentation": "MC1.D.05.002: Schleuse Kern D (OG05)\n", "level_id": 3, "room_id": 3825 }, { "id": 3830, "ctype": "geo.room", "presentation": "MC1.D.05.018: Kreislauf- und Weltraumlabor (OG05)\n", "level_id": 3, "room_id": 3830 }, { "id": 2710, "ctype": "geo.room", "presentation": "MC1.B.04.039: WC D (OG04)\n", "level_id": 4, "room_id": 2710 }, { "id": 2711, "ctype": "geo.room", "presentation": "MC1.B.04.041: WC B (OG04)\n", "level_id": 4, "room_id": 2711 }, { "id": 2713, "ctype": "geo.room", "presentation": "MC1.B.04.044: Dienstraum Mitarbeiter (OG04)\n", "level_id": 4, "room_id": 2713 }, { "id": 2714, "ctype": "geo.room", "presentation": "MC1.B.04.045: Dienstraum Mitarbeiter (OG04)\n", "level_id": 4, "room_id": 2714 }, { "id": 2717, "ctype": "geo.room", "presentation": "MC1.B.04.048: Mykologie Photodokumentation (OG04)\n", "level_id": 4, "room_id": 2717 }, { "id": 2718, "ctype": "geo.room", "presentation": "MC1.B.04.047: Mykologie Photodokumentation (OG04)\n", "level_id": 4, "room_id": 2718 }, { "id": 2719, "ctype": "geo.room", "presentation": "MC1.B.04.050: Interaktive Mikrobiomforschung (OG04)\n", "level_id": 4, "room_id": 2719 }, { "id": 2720, "ctype": "geo.room", "presentation": "MC1.B.04.049: Interaktive Mikrobiomforschung (OG04)\n", "level_id": 4, "room_id": 2720 }, { "id": 2721, "ctype": "geo.room", "presentation": "MC1.B.04.051: Interaktive Mikrobiomforschung (OG04)\n", "level_id": 4, "room_id": 2721 }, { "id": 2724, "ctype": "geo.room", "presentation": "MC1.B.04.040: WC H (OG04)\n", "level_id": 4, "room_id": 2724 }, { "id": 2733, "ctype": "geo.room", "presentation": "MC1.B.04.018: Vorraum Probenaufzug (OG04)\n", "level_id": 4, "room_id": 2733 }, { "id": 2745, "ctype": "geo.room", "presentation": "MC1.B.04.015: 9-16 Stempelraum (OG04)\n", "level_id": 4, "room_id": 2745 }, { "id": 2818, "ctype": "geo.room", "presentation": "MC1.C.04.005: Meeting Point (OG04)\n", "level_id": 4, "room_id": 2818 }, { "id": 3007, "ctype": "geo.room", "presentation": "MC1.B.03.025: Molekulare Erregerdiagnostik (OG03)\n", "level_id": 5, "room_id": 3007 }, { "id": 3009, "ctype": "geo.room", "presentation": "MC1.B.03.021: Molekulare Erregerdiagnostik (OG03)\n", "level_id": 5, "room_id": 3009 }, { "id": 3010, "ctype": "geo.room", "presentation": "MC1.B.03.022: Molekulare Erregerdiagnostik (OG03)\n", "level_id": 5, "room_id": 3010 }, { "id": 3011, "ctype": "geo.room", "presentation": "MC1.B.03.024: Molekulare Erregerdiagnostik (OG03)\n", "level_id": 5, "room_id": 3011 }, { "id": 3016, "ctype": "geo.room", "presentation": "MC1.B.03.019: Vorraum Probenaufzug (OG03)\n", "level_id": 5, "room_id": 3016 } ] }