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=1040
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1060", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1020", "results": [ { "id": 2862, "ctype": "geo.room", "presentation": "MC1.F.03.034: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2862 }, { "id": 2863, "ctype": "geo.room", "presentation": "MC1.F.03.033: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2863 }, { "id": 2865, "ctype": "geo.room", "presentation": "MC1.F.03.010: WC B (OG03)\n", "level_id": 5, "room_id": 2865 }, { "id": 2869, "ctype": "geo.room", "presentation": "MC1.F.03.011: WC D (OG03)\n", "level_id": 5, "room_id": 2869 }, { "id": 2870, "ctype": "geo.room", "presentation": "MC1.F.03.012: WC H (OG03)\n", "level_id": 5, "room_id": 2870 }, { "id": 2910, "ctype": "geo.room", "presentation": "MC1.F.03.014: Immunhisto Vorbereitung (OG03)\n", "level_id": 5, "room_id": 2910 }, { "id": 2911, "ctype": "geo.room", "presentation": "MC1.F.03.015: Immunhisto Autostainer (OG03)\n", "level_id": 5, "room_id": 2911 }, { "id": 2912, "ctype": "geo.room", "presentation": "MC1.F.03.016: Immunhisto Fotodokumentation (OG03)\n", "level_id": 5, "room_id": 2912 }, { "id": 2913, "ctype": "geo.room", "presentation": "MC1.F.03.017: Dunkelraum IF (OG03)\n", "level_id": 5, "room_id": 2913 }, { "id": 2914, "ctype": "geo.room", "presentation": "MC1.F.03.016: Immunhisto Fotodokumentation (OG03)\n", "level_id": 5, "room_id": 2914 }, { "id": 2915, "ctype": "geo.room", "presentation": "MC1.F.03.019: Immunhisto Färbungen (OG03)\n", "level_id": 5, "room_id": 2915 }, { "id": 2916, "ctype": "geo.room", "presentation": "MC1.F.03.018: Immunhisto Färbungen (OG03)\n", "level_id": 5, "room_id": 2916 }, { "id": 2924, "ctype": "geo.room", "presentation": "MC1.F.03.027: Biochemie RNA (OG03)\n", "level_id": 5, "room_id": 2924 }, { "id": 2926, "ctype": "geo.room", "presentation": "MC1.F.03.029: Biochemie PCR (OG03)\n", "level_id": 5, "room_id": 2926 }, { "id": 3134, "ctype": "geo.room", "presentation": "MC1.C.02.010: Büro Professor (OG02)\n", "level_id": 6, "room_id": 3134 }, { "id": 3136, "ctype": "geo.room", "presentation": "MC1.C.02.008: Büro Professor (OG02)\n", "level_id": 6, "room_id": 3136 }, { "id": 3153, "ctype": "geo.room", "presentation": "MC1.F.02.031: LN2 (Flüssigstickstoff) (OG02)\n", "level_id": 6, "room_id": 3153 }, { "id": 3154, "ctype": "geo.room", "presentation": "MC1.F.02.009: WC B (OG02)\n", "level_id": 6, "room_id": 3154 }, { "id": 3170, "ctype": "geo.room", "presentation": "MC1.F.02.011: WC D (OG02)\n", "level_id": 6, "room_id": 3170 }, { "id": 3171, "ctype": "geo.room", "presentation": "MC1.F.02.012: WC H (OG02)\n", "level_id": 6, "room_id": 3171 } ] }