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=880
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=900", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=860", "results": [ { "id": 3599, "ctype": "geo.room", "presentation": "MC1.A.EG.031: Techniklager Aula (EG01)\n", "level_id": 2, "room_id": 3599 }, { "id": 3606, "ctype": "geo.room", "presentation": "MC1.A.EG.019: WC H (EG01)\n", "level_id": 2, "room_id": 3606 }, { "id": 3634, "ctype": "geo.room", "presentation": "MC1.B.EG.020: Schacht Probenaufzug (EG01)\n", "level_id": 2, "room_id": 3634 }, { "id": 3674, "ctype": "geo.room", "presentation": "MC1.G.05.007: WC B (OG05)\n", "level_id": 3, "room_id": 3674 }, { "id": 3694, "ctype": "geo.room", "presentation": "MC1.F.05.027: Molekularpathologische Diagnostik (OG05)\n", "level_id": 3, "room_id": 3694 }, { "id": 3700, "ctype": "geo.room", "presentation": "MC1.F.05.025: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3700 }, { "id": 3701, "ctype": "geo.room", "presentation": "MC1.F.05.024: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3701 }, { "id": 3702, "ctype": "geo.room", "presentation": "MC1.F.05.023: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3702 }, { "id": 3703, "ctype": "geo.room", "presentation": "MC1.F.05.022: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3703 }, { "id": 3704, "ctype": "geo.room", "presentation": "MC1.F.05.021: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3704 }, { "id": 3706, "ctype": "geo.room", "presentation": "MC1.F.05.011: WC B (OG05)\n", "level_id": 3, "room_id": 3706 }, { "id": 3714, "ctype": "geo.room", "presentation": "MC1.F.05.013: WC D (OG05)\n", "level_id": 3, "room_id": 3714 }, { "id": 3715, "ctype": "geo.room", "presentation": "MC1.F.05.014: WC H (OG05)\n", "level_id": 3, "room_id": 3715 }, { "id": 3727, "ctype": "geo.room", "presentation": "MC1.C.05.020: Project Office (OG05)\n", "level_id": 3, "room_id": 3727 }, { "id": 3728, "ctype": "geo.room", "presentation": "MC1.C.05.019: Büro Professor (OG05)\n", "level_id": 3, "room_id": 3728 }, { "id": 3729, "ctype": "geo.room", "presentation": "MC1.C.05.018: Büro Professor (OG05)\n", "level_id": 3, "room_id": 3729 }, { "id": 3730, "ctype": "geo.room", "presentation": "MC1.C.05.017: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3730 }, { "id": 3731, "ctype": "geo.room", "presentation": "MC1.C.05.016: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3731 }, { "id": 3738, "ctype": "geo.room", "presentation": "MC1.C.05.007: Dienstraum Mitarbeiter (OG05)\n", "level_id": 3, "room_id": 3738 }, { "id": 3740, "ctype": "geo.room", "presentation": "MC1.C.05.009: Lehrmittelsammlung Pathologie (OG05)\n", "level_id": 3, "room_id": 3740 } ] }