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=1500
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1520", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1480", "results": [ { "id": 669, "ctype": "geo.room", "presentation": "MC1.B.06.013: Gitterrost/Technikraum: Schacht für TGA (OG06)\n", "level_id": 1, "room_id": 669 }, { "id": 682, "ctype": "geo.room", "presentation": "MC1.B.06.037: Gitterrost/Technikraum: Schacht für TGA (OG06)\n", "level_id": 1, "room_id": 682 }, { "id": 687, "ctype": "geo.room", "presentation": "MC1.B.06.042: Mitarbeiter - Büro (LBI) (OG06)\n", "level_id": 1, "room_id": 687 }, { "id": 2705, "ctype": "geo.room", "presentation": "MC1.G.04.008: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2705 }, { "id": 2708, "ctype": "geo.room", "presentation": "MC1.B.04.038: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2708 }, { "id": 2739, "ctype": "geo.room", "presentation": "MC1.B.04.011: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2739 }, { "id": 2756, "ctype": "geo.room", "presentation": "MC1.G.03.008: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 2756 }, { "id": 2782, "ctype": "geo.room", "presentation": "MC1.F.04.012: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2782 }, { "id": 2808, "ctype": "geo.room", "presentation": "MC1.C.04.010: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2808 }, { "id": 2871, "ctype": "geo.room", "presentation": "MC1.F.03.013: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 2871 }, { "id": 2884, "ctype": "geo.room", "presentation": "MC1.E.04.030: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2884 }, { "id": 2906, "ctype": "geo.room", "presentation": "MC1.E.04.007: Gitterrost/Technikraum: Schacht für TGA (OG04)\n", "level_id": 4, "room_id": 2906 }, { "id": 2942, "ctype": "geo.room", "presentation": "MC1.C.03.010: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 2942 }, { "id": 2967, "ctype": "geo.room", "presentation": "MC1.D.03.012: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 2967 }, { "id": 2998, "ctype": "geo.room", "presentation": "MC1.E.03.006: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 2998 }, { "id": 3023, "ctype": "geo.room", "presentation": "MC1.B.03.012: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 3023 }, { "id": 3042, "ctype": "geo.room", "presentation": "MC1.B.03.033: Gitterrost/Technikraum: Schacht für TGA (OG03)\n", "level_id": 5, "room_id": 3042 }, { "id": 3066, "ctype": "geo.room", "presentation": "MC1.G.02.007: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3066 }, { "id": 3072, "ctype": "geo.room", "presentation": "MC1.E.02.008: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3072 }, { "id": 3092, "ctype": "geo.room", "presentation": "MC1.B.02.012: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3092 } ] }