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=1240
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1260", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1220", "results": [ { "id": 3724, "ctype": "geo.room", "presentation": "MC1.C.05.004: Gang Trakt 04 (OG05)\n", "level_id": 3, "room_id": 3724 }, { "id": 3745, "ctype": "geo.room", "presentation": "MC1.B.05.005: Gang Trakt 04 (OG05)\n", "level_id": 3, "room_id": 3745 }, { "id": 3747, "ctype": "geo.room", "presentation": "MC1.B.05.023: Makro 2 (Zuschneideeinrichtung) (OG05)\n", "level_id": 3, "room_id": 3747 }, { "id": 3748, "ctype": "geo.room", "presentation": "MC1.B.05.024: Makro 4 (Zuschneideeinrichtung) (OG05)\n", "level_id": 3, "room_id": 3748 }, { "id": 3749, "ctype": "geo.room", "presentation": "MC1.B.05.025: Makro 1 (Zuschneideeinrichtung) (OG05)\n", "level_id": 3, "room_id": 3749 }, { "id": 3750, "ctype": "geo.room", "presentation": "MC1.B.05.026: Makro 3 (Zuschneideeinrichtung) (OG05)\n", "level_id": 3, "room_id": 3750 }, { "id": 3774, "ctype": "geo.room", "presentation": "MC1.B.05.004: Brücke 3 geschlossen (OG05)\n", "level_id": 3, "room_id": 3774 }, { "id": 3789, "ctype": "geo.room", "presentation": "MC1.B.05.003: Gang Trakt 01 (OG05)\n", "level_id": 3, "room_id": 3789 }, { "id": 5924, "ctype": "geo.room", "presentation": "MC1.G.05.003: Gang Trakt 06 (OG05)\n", "level_id": 3, "room_id": 5924 }, { "id": 5928, "ctype": "geo.room", "presentation": "MC1.C.05.003: Gang Trakt 04 (OG05)\n", "level_id": 3, "room_id": 5928 }, { "id": 5929, "ctype": "geo.room", "presentation": "MC1.B.05.006: Gang Trakt 04 (OG05)\n", "level_id": 3, "room_id": 5929 }, { "id": 2571, "ctype": "geo.room", "presentation": "MC1.G.U1.028: WC barrierefrei Herren (UG01)\n", "level_id": 8, "room_id": 2571 }, { "id": 2572, "ctype": "geo.room", "presentation": "MC1.G.U1.030: WC barrierefrei Damen (UG01)\n", "level_id": 8, "room_id": 2572 }, { "id": 2591, "ctype": "geo.room", "presentation": "MC1.G.U1.002: Schleuse Kern G (UG01)\n", "level_id": 8, "room_id": 2591 }, { "id": 2600, "ctype": "geo.room", "presentation": "MC1.G.U1.008: Zuluftschacht TG I (UG01)\n", "level_id": 8, "room_id": 2600 }, { "id": 2626, "ctype": "geo.room", "presentation": "MC1.F.U1.018: Technik Niederspannungshauptverteiler (NSHV) (UG01)\n", "level_id": 8, "room_id": 2626 }, { "id": 2628, "ctype": "geo.room", "presentation": "MC1.F.U1.002: Schleuse Kern F (UG01)\n", "level_id": 8, "room_id": 2628 }, { "id": 2631, "ctype": "geo.room", "presentation": "MC1.F.U1.012: Aufzug Stiege F (UG01)\n", "level_id": 8, "room_id": 2631 }, { "id": 2638, "ctype": "geo.room", "presentation": "MC1.D.U1.022: Zuluftschacht TG II (UG01)\n", "level_id": 8, "room_id": 2638 }, { "id": 2658, "ctype": "geo.room", "presentation": "MC1.D.U1.002: Schleuse Kern D (UG01)\n", "level_id": 8, "room_id": 2658 } ] }