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=16320
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16340", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16300", "results": [ { "id": 98448, "ctype": "campusonline.student", "presentation": "Celine Tomka\n" }, { "id": 98449, "ctype": "campusonline.student", "presentation": "Janpeter Leyhausen\n" }, { "id": 98451, "ctype": "campusonline.student", "presentation": "Josephine Borsdorf\n" }, { "id": 98452, "ctype": "campusonline.student", "presentation": "Anesa Kuc\n" }, { "id": 98455, "ctype": "campusonline.student", "presentation": "Nina Klock\n" }, { "id": 98456, "ctype": "campusonline.student", "presentation": "Kristina Friedrich\n" }, { "id": 98457, "ctype": "campusonline.student", "presentation": "Tina Primessnig\n" }, { "id": 98459, "ctype": "campusonline.student", "presentation": "Luca del Fabro\n" }, { "id": 98460, "ctype": "campusonline.student", "presentation": "Jakob Schwarzl\n" }, { "id": 98462, "ctype": "campusonline.student", "presentation": "Johanna Mrak\n" }, { "id": 98463, "ctype": "campusonline.student", "presentation": "Florian Fritz Hohenberg\n" }, { "id": 98467, "ctype": "campusonline.student", "presentation": "Lukas Zipponig\n" }, { "id": 98468, "ctype": "campusonline.student", "presentation": "Raffael Geissler\n" }, { "id": 98470, "ctype": "campusonline.student", "presentation": "Matthias Motschilnig\n" }, { "id": 98471, "ctype": "campusonline.student", "presentation": "Luca-Jerome Lange\n" }, { "id": 98473, "ctype": "campusonline.student", "presentation": "Magdalena Kröll\n" }, { "id": 98474, "ctype": "campusonline.student", "presentation": "Rahel Alena Huck\n" }, { "id": 98476, "ctype": "campusonline.student", "presentation": "Christina Liebmann-Holzmann\n" }, { "id": 98477, "ctype": "campusonline.student", "presentation": "Christoph Fetz\n" }, { "id": 98478, "ctype": "campusonline.student", "presentation": "Sophie Hossain\n" } ] }