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=620
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=640", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=600", "results": [ { "id": 2763, "ctype": "geo.room", "presentation": "MC1.G.03.014: LSM (OG03)\n", "level_id": 5, "room_id": 2763 }, { "id": 2847, "ctype": "geo.room", "presentation": "MC1.G.03.015: LSC (OG03)\n", "level_id": 5, "room_id": 2847 }, { "id": 2848, "ctype": "geo.room", "presentation": "MC1.G.03.016: Leica (OG03)\n", "level_id": 5, "room_id": 2848 }, { "id": 2851, "ctype": "geo.room", "presentation": "MC1.F.03.041: Büro (OG03)\n", "level_id": 5, "room_id": 2851 }, { "id": 2866, "ctype": "geo.room", "presentation": "MC1.F.03.031: Putzraum (OG03)\n", "level_id": 5, "room_id": 2866 }, { "id": 2931, "ctype": "geo.room", "presentation": "MC1.C.03.018: Vorbereitung (OG03)\n", "level_id": 5, "room_id": 2931 }, { "id": 2948, "ctype": "geo.room", "presentation": "MC1.C.03.016: Büro (OG03)\n", "level_id": 5, "room_id": 2948 }, { "id": 2949, "ctype": "geo.room", "presentation": "MC1.C.03.017: Büro (OG03)\n", "level_id": 5, "room_id": 2949 }, { "id": 2969, "ctype": "geo.room", "presentation": "MC1.D.03.013: Putzraum (OG03)\n", "level_id": 5, "room_id": 2969 }, { "id": 3043, "ctype": "geo.room", "presentation": "MC1.B.03.037: Putzraum (OG03)\n", "level_id": 5, "room_id": 3043 }, { "id": 3063, "ctype": "geo.room", "presentation": "MC1.G.02.005: Putzraum (OG02)\n", "level_id": 6, "room_id": 3063 }, { "id": 3115, "ctype": "geo.room", "presentation": "MC1.B.02.031: Putzraum (OG02)\n", "level_id": 6, "room_id": 3115 }, { "id": 3128, "ctype": "geo.room", "presentation": "MC1.C.02.005: Kopiernische (OG02)\n", "level_id": 6, "room_id": 3128 }, { "id": 3129, "ctype": "geo.room", "presentation": "MC1.C.02.004: Gang (OG02)\n", "level_id": 6, "room_id": 3129 }, { "id": 3133, "ctype": "geo.room", "presentation": "MC1.C.02.011: Besprechungsraum (OG02)\n", "level_id": 6, "room_id": 3133 }, { "id": 3135, "ctype": "geo.room", "presentation": "MC1.C.02.009: Sekretariat (OG02)\n", "level_id": 6, "room_id": 3135 }, { "id": 3144, "ctype": "geo.room", "presentation": "MC1.F.02.034: Zellkulturvorbereitung (OG02)\n", "level_id": 6, "room_id": 3144 }, { "id": 3150, "ctype": "geo.room", "presentation": "MC1.F.02.032: Zellkultur (OG02)\n", "level_id": 6, "room_id": 3150 }, { "id": 3151, "ctype": "geo.room", "presentation": "MC1.F.02.030: Spülraum (OG02)\n", "level_id": 6, "room_id": 3151 }, { "id": 3155, "ctype": "geo.room", "presentation": "MC1.F.02.010: Putzraum (OG02)\n", "level_id": 6, "room_id": 3155 } ] }