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=860
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=880", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=840", "results": [ { "id": 3488, "ctype": "geo.room", "presentation": "MC1.B.01.014: Microarray I (OG01)\n", "level_id": 7, "room_id": 3488 }, { "id": 3489, "ctype": "geo.room", "presentation": "MC1.B.01.015: Microarray II (OG01)\n", "level_id": 7, "room_id": 3489 }, { "id": 3493, "ctype": "geo.room", "presentation": "MC1.B.01.021: DNA II (OG01)\n", "level_id": 7, "room_id": 3493 }, { "id": 3494, "ctype": "geo.room", "presentation": "MC1.B.01.022: DNA I (OG01)\n", "level_id": 7, "room_id": 3494 }, { "id": 3503, "ctype": "geo.room", "presentation": "MC1.B.01.027: WC D (OG01)\n", "level_id": 7, "room_id": 3503 }, { "id": 3504, "ctype": "geo.room", "presentation": "MC1.B.01.028: WC H (OG01)\n", "level_id": 7, "room_id": 3504 }, { "id": 3505, "ctype": "geo.room", "presentation": "MC1.B.01.029: WC B (OG01)\n", "level_id": 7, "room_id": 3505 }, { "id": 3517, "ctype": "geo.room", "presentation": "MC1.G.EG.001: Stiege G (EG01)\n", "level_id": 2, "room_id": 3517 }, { "id": 3533, "ctype": "geo.room", "presentation": "MC1.C.EG.001: Stiege C (EG01)\n", "level_id": 2, "room_id": 3533 }, { "id": 3534, "ctype": "geo.room", "presentation": "MC1.B.EG.001: Stiege B (EG01)\n", "level_id": 2, "room_id": 3534 }, { "id": 3535, "ctype": "geo.room", "presentation": "MC1.E.EG.001: Stiege E (EG01)\n", "level_id": 2, "room_id": 3535 }, { "id": 3536, "ctype": "geo.room", "presentation": "MC1.F.EG.001: Stiege F (EG01)\n", "level_id": 2, "room_id": 3536 }, { "id": 3553, "ctype": "geo.room", "presentation": "MC1.F.EG.020: WC H (EG01)\n", "level_id": 2, "room_id": 3553 }, { "id": 3554, "ctype": "geo.room", "presentation": "MC1.F.EG.019: WC D (EG01)\n", "level_id": 2, "room_id": 3554 }, { "id": 3578, "ctype": "geo.room", "presentation": "MC1.A.EG.018: WC B (EG01)\n", "level_id": 2, "room_id": 3578 }, { "id": 3579, "ctype": "geo.room", "presentation": "MC1.A.EG.017: WC B (EG01)\n", "level_id": 2, "room_id": 3579 }, { "id": 3580, "ctype": "geo.room", "presentation": "MC1.D.EG.001: Stiege D (EG01)\n", "level_id": 2, "room_id": 3580 }, { "id": 3589, "ctype": "geo.room", "presentation": "MC1.A.EG.022: WC B (EG01)\n", "level_id": 2, "room_id": 3589 }, { "id": 3590, "ctype": "geo.room", "presentation": "MC1.A.EG.023: WC B (EG01)\n", "level_id": 2, "room_id": 3590 }, { "id": 3596, "ctype": "geo.room", "presentation": "MC1.A.EG.021: WC D (EG01)\n", "level_id": 2, "room_id": 3596 } ] }