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=1120
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1140", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1100", "results": [ { "id": 2614, "ctype": "geo.room", "presentation": "MC1.F.U1.034: Chemikalienlager (fest) (UG01)\n", "level_id": 8, "room_id": 2614 }, { "id": 2615, "ctype": "geo.room", "presentation": "MC1.F.U1.033: Zentrallager Bearbeitung (UG01)\n", "level_id": 8, "room_id": 2615 }, { "id": 2642, "ctype": "geo.room", "presentation": "MC1.D.U1.009: Versorgungsraum ELMI (UG01)\n", "level_id": 8, "room_id": 2642 }, { "id": 2694, "ctype": "geo.room", "presentation": "MC1.C.U1.027: Zentrales Papierarchiv (UG01)\n", "level_id": 8, "room_id": 2694 }, { "id": 3190, "ctype": "geo.room", "presentation": "MC1.C.U1.022: Dusche/Umkleide (S3-Infektionsseziersaal) (UG01)\n", "level_id": 8, "room_id": 3190 }, { "id": 3292, "ctype": "geo.room", "presentation": "MC1.B.U1.039: Messgeräte (Radionuklid-Bereich) (UG01)\n", "level_id": 8, "room_id": 3292 }, { "id": 3319, "ctype": "geo.room", "presentation": "MC1.B.U1.020: Fasslager (Radionuklid-Bereich) (UG01)\n", "level_id": 8, "room_id": 3319 }, { "id": 279, "ctype": "geo.room", "presentation": "MC1.G.06.002: Schleuse Kern G (OG06)\n", "level_id": 1, "room_id": 279 }, { "id": 538, "ctype": "geo.room", "presentation": "MC1.F.06.002: Schleuse Kern F (OG06)\n", "level_id": 1, "room_id": 538 }, { "id": 558, "ctype": "geo.room", "presentation": "MC1.D.06.002: Schleuse Kern D (OG06)\n", "level_id": 1, "room_id": 558 }, { "id": 632, "ctype": "geo.room", "presentation": "MC1.E.06.002: Schleuse Kern E (OG06)\n", "level_id": 1, "room_id": 632 }, { "id": 646, "ctype": "geo.room", "presentation": "MC1.C.06.002: Schleuse Kern C (OG06)\n", "level_id": 1, "room_id": 646 }, { "id": 672, "ctype": "geo.room", "presentation": "MC1.B.06.002: Schleuse Kern B (OG06)\n", "level_id": 1, "room_id": 672 }, { "id": 2697, "ctype": "geo.room", "presentation": "MC1.G.04.002: Schleuse Kern G (OG04)\n", "level_id": 4, "room_id": 2697 }, { "id": 2747, "ctype": "geo.room", "presentation": "MC1.B.04.002: Schleuse Kern B (OG04)\n", "level_id": 4, "room_id": 2747 }, { "id": 2752, "ctype": "geo.room", "presentation": "MC1.G.03.002: Schleuse Kern G (OG03)\n", "level_id": 5, "room_id": 2752 }, { "id": 2777, "ctype": "geo.room", "presentation": "MC1.F.04.002: Schleuse Kern F (OG04)\n", "level_id": 4, "room_id": 2777 }, { "id": 2810, "ctype": "geo.room", "presentation": "MC1.C.04.002: Schleuse Kern C (OG04)\n", "level_id": 4, "room_id": 2810 }, { "id": 2868, "ctype": "geo.room", "presentation": "MC1.F.03.002: Schleuse Kern F (OG03)\n", "level_id": 5, "room_id": 2868 }, { "id": 2872, "ctype": "geo.room", "presentation": "MC1.E.04.002: Schleuse Kern E (OG04)\n", "level_id": 4, "room_id": 2872 } ] }