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=16200
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16220", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16180", "results": [ { "id": 98295, "ctype": "campusonline.student", "presentation": "Julia Ebmeyer\n" }, { "id": 98296, "ctype": "campusonline.student", "presentation": "Robert Matic\n" }, { "id": 98297, "ctype": "campusonline.student", "presentation": "Nina Barilich\n" }, { "id": 98298, "ctype": "campusonline.student", "presentation": "Lisa Jannach\n" }, { "id": 98300, "ctype": "campusonline.student", "presentation": "Hannah Vaterl\n" }, { "id": 98301, "ctype": "campusonline.student", "presentation": "Magdalena Sophie Würzl\n" }, { "id": 98303, "ctype": "campusonline.student", "presentation": "Anna Christina Reisinger\n" }, { "id": 98304, "ctype": "campusonline.student", "presentation": "Mag.iur. Hanna Solic\n" }, { "id": 98306, "ctype": "campusonline.student", "presentation": "Patrick Hochenhofer\n" }, { "id": 98307, "ctype": "campusonline.student", "presentation": "Melanie Gschliesser\n" }, { "id": 98308, "ctype": "campusonline.student", "presentation": "Kathrin Narat\n" }, { "id": 98309, "ctype": "campusonline.student", "presentation": "Marko Anušić\n" }, { "id": 98310, "ctype": "campusonline.student", "presentation": "Patrick Alois Trink\n" }, { "id": 98311, "ctype": "campusonline.student", "presentation": "Michaela Monschein\n" }, { "id": 98312, "ctype": "campusonline.student", "presentation": "Saskia Weber\n" }, { "id": 98313, "ctype": "campusonline.student", "presentation": "Laura Bauer\n" }, { "id": 98314, "ctype": "campusonline.student", "presentation": "Christina Abdelmalak\n" }, { "id": 98316, "ctype": "campusonline.student", "presentation": "Eva Schwabl\n" }, { "id": 98318, "ctype": "campusonline.student", "presentation": "Florian Beck\n" }, { "id": 98319, "ctype": "campusonline.student", "presentation": "Julian Haid\n" } ] }