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=840
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=860", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=820", "results": [ { "id": 2805, "ctype": "geo.room", "presentation": "MC1.C.04.013: Digitale Bildbearbeitung (OG04)\n", "level_id": 4, "room_id": 2805 }, { "id": 2806, "ctype": "geo.room", "presentation": "MC1.C.04.012: Dienstraum Mitarbeiter (OG04)\n", "level_id": 4, "room_id": 2806 }, { "id": 2876, "ctype": "geo.room", "presentation": "MC1.D.04.015: WC B/D (OG04)\n", "level_id": 4, "room_id": 2876 }, { "id": 2970, "ctype": "geo.room", "presentation": "MC1.D.03.015: WC D (OG03)\n", "level_id": 5, "room_id": 2970 }, { "id": 2971, "ctype": "geo.room", "presentation": "MC1.D.03.014: WC H (OG03)\n", "level_id": 5, "room_id": 2971 }, { "id": 2980, "ctype": "geo.room", "presentation": "MC1.D.03.033: Büro Professor (OG03)\n", "level_id": 5, "room_id": 2980 }, { "id": 2983, "ctype": "geo.room", "presentation": "MC1.D.03.036: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2983 }, { "id": 2984, "ctype": "geo.room", "presentation": "MC1.D.03.037: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2984 }, { "id": 2988, "ctype": "geo.room", "presentation": "MC1.D.03.039: Büro Professor (OG03)\n", "level_id": 5, "room_id": 2988 }, { "id": 2989, "ctype": "geo.room", "presentation": "MC1.D.03.040: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2989 }, { "id": 2991, "ctype": "geo.room", "presentation": "MC1.D.03.042: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2991 }, { "id": 2993, "ctype": "geo.room", "presentation": "MC1.D.03.044: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2993 }, { "id": 3163, "ctype": "geo.room", "presentation": "MC1.D.02.044: Gruppenbüro PhD-Studenten (OG02)\n", "level_id": 6, "room_id": 3163 }, { "id": 3354, "ctype": "geo.room", "presentation": "MC1.D.02.027: WC H (OG02)\n", "level_id": 6, "room_id": 3354 }, { "id": 3363, "ctype": "geo.room", "presentation": "MC1.D.02.040: Dienstraum Mitarbeiter (OG02)\n", "level_id": 6, "room_id": 3363 }, { "id": 3364, "ctype": "geo.room", "presentation": "MC1.D.02.041: Dienstraum Mitarbeiter (OG02)\n", "level_id": 6, "room_id": 3364 }, { "id": 3365, "ctype": "geo.room", "presentation": "MC1.D.02.042: Dienstraum Mitarbeiter (OG02)\n", "level_id": 6, "room_id": 3365 }, { "id": 3378, "ctype": "geo.room", "presentation": "MC1.B.01.012: DNA IV (OG01)\n", "level_id": 7, "room_id": 3378 }, { "id": 3486, "ctype": "geo.room", "presentation": "MC1.B.01.011: DNA III (OG01)\n", "level_id": 7, "room_id": 3486 }, { "id": 3487, "ctype": "geo.room", "presentation": "MC1.B.01.013: DNA V (OG01)\n", "level_id": 7, "room_id": 3487 } ] }