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=18160
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=18180", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=18140", "results": [ { "id": 104212, "ctype": "campusonline.student", "presentation": "Tamara Granda Fernandez\n" }, { "id": 104215, "ctype": "campusonline.student", "presentation": "Milos Janosevic\n" }, { "id": 104216, "ctype": "campusonline.student", "presentation": "Johanna Knirsch\n" }, { "id": 104217, "ctype": "campusonline.student", "presentation": "Isabella Anna Hofmarcher\n" }, { "id": 104218, "ctype": "campusonline.student", "presentation": "Matthias Moser\n" }, { "id": 104219, "ctype": "campusonline.student", "presentation": "Christina Fuchs\n" }, { "id": 104220, "ctype": "campusonline.student", "presentation": "Viktoria Klar\n" }, { "id": 104221, "ctype": "campusonline.student", "presentation": "Florian Prinz\n" }, { "id": 104222, "ctype": "campusonline.student", "presentation": "Noah Fürst\n" }, { "id": 104223, "ctype": "campusonline.student", "presentation": "Stefanie Gruber\n" }, { "id": 104224, "ctype": "campusonline.student", "presentation": "Helen Gießauf\n" }, { "id": 104225, "ctype": "campusonline.student", "presentation": "Theresa Wöss\n" }, { "id": 104226, "ctype": "campusonline.student", "presentation": "Alina Hedl\n" }, { "id": 104227, "ctype": "campusonline.student", "presentation": "Haris Bektic\n" }, { "id": 104228, "ctype": "campusonline.student", "presentation": "Mirjam Haberpointner\n" }, { "id": 104229, "ctype": "campusonline.student", "presentation": "Monama Fruth\n" }, { "id": 104230, "ctype": "campusonline.student", "presentation": "Sara Mairinger\n" }, { "id": 104231, "ctype": "campusonline.student", "presentation": "Katharina Opeker\n" }, { "id": 104232, "ctype": "campusonline.student", "presentation": "Lena Perner\n" }, { "id": 104233, "ctype": "campusonline.student", "presentation": "Theresa Niemann\n" } ] }