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=1160
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1180", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1140", "results": [ { "id": 3420, "ctype": "geo.room", "presentation": "MC1.F.01.010: Garderobe für Studenten (OG01)\n", "level_id": 7, "room_id": 3420 }, { "id": 3427, "ctype": "geo.room", "presentation": "MC1.C.01.002: Schleuse Kern C (OG01)\n", "level_id": 7, "room_id": 3427 }, { "id": 3448, "ctype": "geo.room", "presentation": "MC1.D.01.002: Schleuse Kern D (OG01)\n", "level_id": 7, "room_id": 3448 }, { "id": 3462, "ctype": "geo.room", "presentation": "MC1.E.01.002: Schleuse Kern E (OG01)\n", "level_id": 7, "room_id": 3462 }, { "id": 3478, "ctype": "geo.room", "presentation": "MC1.B.01.002: Schleuse Kern B (OG01)\n", "level_id": 7, "room_id": 3478 }, { "id": 3496, "ctype": "geo.room", "presentation": "MC1.B.01.024: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3496 }, { "id": 3506, "ctype": "geo.room", "presentation": "MC1.B.01.031: Personenaufenthaltsraum / Sozialraum (OG01)\n", "level_id": 7, "room_id": 3506 }, { "id": 3507, "ctype": "geo.room", "presentation": "MC1.B.01.032: Professoren - Büro (OG01)\n", "level_id": 7, "room_id": 3507 }, { "id": 3509, "ctype": "geo.room", "presentation": "MC1.B.01.033: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3509 }, { "id": 3510, "ctype": "geo.room", "presentation": "MC1.B.01.034: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3510 }, { "id": 3511, "ctype": "geo.room", "presentation": "MC1.B.01.035: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3511 }, { "id": 3512, "ctype": "geo.room", "presentation": "MC1.B.01.036: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3512 }, { "id": 3513, "ctype": "geo.room", "presentation": "MC1.B.01.037: Mitarbeiter - Büro (OG01)\n", "level_id": 7, "room_id": 3513 }, { "id": 3667, "ctype": "geo.room", "presentation": "MC1.G.05.025: Personenaufenthaltsraum / Sozialraum (OG05)\n", "level_id": 3, "room_id": 3667 }, { "id": 3673, "ctype": "geo.room", "presentation": "MC1.G.05.002: Schleuse Kern G (OG05)\n", "level_id": 3, "room_id": 3673 }, { "id": 3711, "ctype": "geo.room", "presentation": "MC1.F.05.002: Schleuse Kern F (OG05)\n", "level_id": 3, "room_id": 3711 }, { "id": 3737, "ctype": "geo.room", "presentation": "MC1.C.05.002: Schleuse Kern C (OG05)\n", "level_id": 3, "room_id": 3737 }, { "id": 3743, "ctype": "geo.room", "presentation": "MC1.C.05.012: Personenaufenthaltsraum / Sozialraum (OG05)\n", "level_id": 3, "room_id": 3743 }, { "id": 3788, "ctype": "geo.room", "presentation": "MC1.B.05.002: Schleuse Kern B (OG05)\n", "level_id": 3, "room_id": 3788 }, { "id": 3798, "ctype": "geo.room", "presentation": "MC1.E.05.002: Schleuse Kern E (OG05)\n", "level_id": 3, "room_id": 3798 } ] }