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=1100
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1120", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1080", "results": [ { "id": 3708, "ctype": "geo.room", "presentation": "MC1.F.05.003: Gang Trakt 05 (OG05)\n", "level_id": 3, "room_id": 3708 }, { "id": 3719, "ctype": "geo.room", "presentation": "MC1.F.05.018: Diskussionsmikroskop Pathologie 03 (OG05)\n", "level_id": 3, "room_id": 3719 }, { "id": 3720, "ctype": "geo.room", "presentation": "MC1.F.05.019: Diskussionsmikroskop Pathologie 04 (OG05)\n", "level_id": 3, "room_id": 3720 }, { "id": 3753, "ctype": "geo.room", "presentation": "MC1.B.05.007: Brücke 2 offen (OG05)\n", "level_id": 3, "room_id": 3753 }, { "id": 3768, "ctype": "geo.room", "presentation": "MC1.B.05.008: Brücke 1 offen (OG05)\n", "level_id": 3, "room_id": 3768 }, { "id": 3792, "ctype": "geo.room", "presentation": "MC1.E.05.005: Brücke 6 offen (OG05)\n", "level_id": 3, "room_id": 3792 }, { "id": 3793, "ctype": "geo.room", "presentation": "MC1.E.05.004: Gang Trakt 02 (OG05)\n", "level_id": 3, "room_id": 3793 }, { "id": 3802, "ctype": "geo.room", "presentation": "MC1.E.05.003: Gang Trakt 02 (OG05)\n", "level_id": 3, "room_id": 3802 }, { "id": 3822, "ctype": "geo.room", "presentation": "MC1.D.05.007: Brücke 7 offen (OG05)\n", "level_id": 3, "room_id": 3822 }, { "id": 3826, "ctype": "geo.room", "presentation": "MC1.D.05.003: Gang Trakt 02 (OG05)\n", "level_id": 3, "room_id": 3826 }, { "id": 3836, "ctype": "geo.room", "presentation": "MC1.D.05.004: Brücke 11 offen (OG05)\n", "level_id": 3, "room_id": 3836 }, { "id": 3837, "ctype": "geo.room", "presentation": "MC1.D.05.005: Brücke 10 geschlossen (OG05)\n", "level_id": 3, "room_id": 3837 }, { "id": 3838, "ctype": "geo.room", "presentation": "MC1.D.05.006: Brücke 9 offen (OG05)\n", "level_id": 3, "room_id": 3838 }, { "id": 3855, "ctype": "geo.room", "presentation": "MC1.D.05.008: Gang Trakt 03 (OG05)\n", "level_id": 3, "room_id": 3855 }, { "id": 2677, "ctype": "geo.room", "presentation": "MC1.E.U1.009: Heizungszentrale - Fernwärmeübergabestation (UG01)\n", "level_id": 8, "room_id": 2677 }, { "id": 2917, "ctype": "geo.room", "presentation": "MC1.F.03.020: Kühlraum (+4°C) (OG03)\n", "level_id": 5, "room_id": 2917 }, { "id": 3149, "ctype": "geo.room", "presentation": "MC1.F.02.033: Kühlraum (+4°C) (OG02)\n", "level_id": 6, "room_id": 3149 }, { "id": 2590, "ctype": "geo.room", "presentation": "MC1.G.U1.015: Lager (TBF) (UG01)\n", "level_id": 8, "room_id": 2590 }, { "id": 2608, "ctype": "geo.room", "presentation": "MC1.F.U1.042: Entsorgung Chemikalien (UG01)\n", "level_id": 8, "room_id": 2608 }, { "id": 2609, "ctype": "geo.room", "presentation": "MC1.F.U1.041: Entsorgung Lösungsmittel (UG01)\n", "level_id": 8, "room_id": 2609 } ] }