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=820
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=840", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=800", "results": [ { "id": 3283, "ctype": "geo.room", "presentation": "MC1.C.U1.041: Technik Notstromaggregat (UG01)\n", "level_id": 8, "room_id": 3283 }, { "id": 3298, "ctype": "geo.room", "presentation": "MC1.B.U1.037: Schleuse Personen (UG01)\n", "level_id": 8, "room_id": 3298 }, { "id": 3306, "ctype": "geo.room", "presentation": "MC1.B.U1.005: Schleuse Material (UG01)\n", "level_id": 8, "room_id": 3306 }, { "id": 3314, "ctype": "geo.room", "presentation": "MC1.B.U1.023: Lager Natronlauge (UG01)\n", "level_id": 8, "room_id": 3314 }, { "id": 3320, "ctype": "geo.room", "presentation": "MC1.B.U1.019: Dusche barrierefrei (UG01)\n", "level_id": 8, "room_id": 3320 }, { "id": 3857, "ctype": "geo.room", "presentation": "MC1.D.U1.021: Tiefgarage Fahrgasse (UG01)\n", "level_id": 8, "room_id": 3857 }, { "id": 3858, "ctype": "geo.room", "presentation": "MC1.F.U1.019: Technik Traforaum (UG01)\n", "level_id": 8, "room_id": 3858 }, { "id": 2620, "ctype": "geo.room", "presentation": "MC1.F.04.009: WC B (OG04)\n", "level_id": 4, "room_id": 2620 }, { "id": 2699, "ctype": "geo.room", "presentation": "MC1.G.04.011: Zytologisches Labor (OG04)\n", "level_id": 4, "room_id": 2699 }, { "id": 2700, "ctype": "geo.room", "presentation": "MC1.G.04.013: Zytologisches Screening (OG04)\n", "level_id": 4, "room_id": 2700 }, { "id": 2765, "ctype": "geo.room", "presentation": "MC1.F.04.037: Dunkelraum Fluoreszenzmikroskop (OG04)\n", "level_id": 4, "room_id": 2765 }, { "id": 2768, "ctype": "geo.room", "presentation": "MC1.F.04.034: Immunhisto FACS (OG04)\n", "level_id": 4, "room_id": 2768 }, { "id": 2779, "ctype": "geo.room", "presentation": "MC1.F.04.010: WC D (OG04)\n", "level_id": 4, "room_id": 2779 }, { "id": 2780, "ctype": "geo.room", "presentation": "MC1.F.04.011: WC H (OG04)\n", "level_id": 4, "room_id": 2780 }, { "id": 2783, "ctype": "geo.room", "presentation": "MC1.F.04.014: Umkleide Studenten (OG04)\n", "level_id": 4, "room_id": 2783 }, { "id": 2788, "ctype": "geo.room", "presentation": "MC1.F.04.013: Umkleide Ärzte (OG04)\n", "level_id": 4, "room_id": 2788 }, { "id": 2793, "ctype": "geo.room", "presentation": "MC1.F.04.020: Prosektur Administration (OG04)\n", "level_id": 4, "room_id": 2793 }, { "id": 2795, "ctype": "geo.room", "presentation": "MC1.F.04.018: Lager Obduktionsnähe (OG04)\n", "level_id": 4, "room_id": 2795 }, { "id": 2803, "ctype": "geo.room", "presentation": "MC1.C.04.015: Dienstraum Mitarbeiter (OG04)\n", "level_id": 4, "room_id": 2803 }, { "id": 2804, "ctype": "geo.room", "presentation": "MC1.C.04.014: Dienstraum Mitarbeiter (OG04)\n", "level_id": 4, "room_id": 2804 } ] }