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.Person
campusonline.Room
campusonline.Student
geo.Room
structure.Organization
structure.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=320
https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=340", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=300", "results": [ { "id": 2786, "ctype": "geo.room", "presentation": "MC1.F.04.025: Dusche (OG04)\n", "level_id": 4, "room_id": 2786 }, { "id": 2787, "ctype": "geo.room", "presentation": "MC1.F.04.004: Gang (OG04)\n", "level_id": 4, "room_id": 2787 }, { "id": 2796, "ctype": "geo.room", "presentation": "MC1.F.04.017: Sterilisationsraum (OG04)\n", "level_id": 4, "room_id": 2796 }, { "id": 2802, "ctype": "geo.room", "presentation": "MC1.C.04.016: Studentenadministration (OG04)\n", "level_id": 4, "room_id": 2802 }, { "id": 2811, "ctype": "geo.room", "presentation": "- (OG04)\n", "level_id": 4, "room_id": 2811 }, { "id": 2812, "ctype": "geo.room", "presentation": "- (OG04)\n", "level_id": 4, "room_id": 2812 }, { "id": 2820, "ctype": "geo.room", "presentation": "MC1.D.04.023: Besprechungsraum (OG04)\n", "level_id": 4, "room_id": 2820 }, { "id": 2823, "ctype": "geo.room", "presentation": "MC1.D.04.010: Kopiernische (OG04)\n", "level_id": 4, "room_id": 2823 }, { "id": 2827, "ctype": "geo.room", "presentation": "MC1.D.04.028: Sekretariat (OG04)\n", "level_id": 4, "room_id": 2827 }, { "id": 2834, "ctype": "geo.room", "presentation": "MC1.D.04.035: Sekretariat (OG04)\n", "level_id": 4, "room_id": 2834 }, { "id": 2844, "ctype": "geo.room", "presentation": "MC1.D.04.009: Kommunikationsknoten (OG04)\n", "level_id": 4, "room_id": 2844 }, { "id": 2874, "ctype": "geo.room", "presentation": "- (OG04)\n", "level_id": 4, "room_id": 2874 }, { "id": 2877, "ctype": "geo.room", "presentation": "MC1.D.04.014: Lager (OG04)\n", "level_id": 4, "room_id": 2877 }, { "id": 2880, "ctype": "geo.room", "presentation": "MC1.D.04.017: Elektronik-Labor (OG04)\n", "level_id": 4, "room_id": 2880 }, { "id": 2882, "ctype": "geo.room", "presentation": "- (OG04)\n", "level_id": 4, "room_id": 2882 }, { "id": 2885, "ctype": "geo.room", "presentation": "MC1.E.04.031: Putzraum (OG04)\n", "level_id": 4, "room_id": 2885 }, { "id": 2901, "ctype": "geo.room", "presentation": "MC1.E.04.015: Zellkultur (OG04)\n", "level_id": 4, "room_id": 2901 }, { "id": 2902, "ctype": "geo.room", "presentation": "MC1.E.04.014: Zellkultur (OG04)\n", "level_id": 4, "room_id": 2902 }, { "id": 2903, "ctype": "geo.room", "presentation": "MC1.E.04.013: Zellkultur (OG04)\n", "level_id": 4, "room_id": 2903 }, { "id": 2904, "ctype": "geo.room", "presentation": "MC1.E.04.012: Zellkultur (OG04)\n", "level_id": 4, "room_id": 2904 } ] }{ "count": 18715, "next": "