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=1020
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1040", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1000", "results": [ { "id": 3851, "ctype": "geo.room", "presentation": "MC1.D.05.025: Mitarbeiter - Büro (OG05)\n", "level_id": 3, "room_id": 3851 }, { "id": 3852, "ctype": "geo.room", "presentation": "MC1.D.05.024: Mitarbeiter - Büro (OG05)\n", "level_id": 3, "room_id": 3852 }, { "id": 3853, "ctype": "geo.room", "presentation": "MC1.D.05.023: Professoren - Büro (OG05)\n", "level_id": 3, "room_id": 3853 }, { "id": 559, "ctype": "geo.room", "presentation": "MC1.D.06.024: Gruppenbüro Diplomanden/Doktoranden (OG06)\n", "level_id": 1, "room_id": 559 }, { "id": 560, "ctype": "geo.room", "presentation": "MC1.D.06.025: Gruppenbüro PhD-Studenten (OG06)\n", "level_id": 1, "room_id": 560 }, { "id": 561, "ctype": "geo.room", "presentation": "MC1.D.06.026: Gruppenbüro PhD-Studenten (OG06)\n", "level_id": 1, "room_id": 561 }, { "id": 562, "ctype": "geo.room", "presentation": "MC1.D.06.027: Gruppenbüro PhD-Studenten (OG06)\n", "level_id": 1, "room_id": 562 }, { "id": 573, "ctype": "geo.room", "presentation": "MC1.D.06.015: WC B/D (OG06)\n", "level_id": 1, "room_id": 573 }, { "id": 657, "ctype": "geo.room", "presentation": "MC1.E.06.020: Protein/Western Blot (OG06)\n", "level_id": 1, "room_id": 657 }, { "id": 659, "ctype": "geo.room", "presentation": "MC1.B.06.022: Prä-PCR I (OG06)\n", "level_id": 1, "room_id": 659 }, { "id": 2657, "ctype": "geo.room", "presentation": "MC1.F.03.040: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2657 }, { "id": 2758, "ctype": "geo.room", "presentation": "MC1.G.03.009: Mikroskopie Auswertung (OG03)\n", "level_id": 5, "room_id": 2758 }, { "id": 2853, "ctype": "geo.room", "presentation": "MC1.F.03.043: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2853 }, { "id": 2854, "ctype": "geo.room", "presentation": "MC1.F.03.044: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2854 }, { "id": 2855, "ctype": "geo.room", "presentation": "MC1.F.03.045: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2855 }, { "id": 2856, "ctype": "geo.room", "presentation": "MC1.F.03.046: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2856 }, { "id": 2858, "ctype": "geo.room", "presentation": "MC1.F.03.038: Dienstraum Laborkoordination (OG03)\n", "level_id": 5, "room_id": 2858 }, { "id": 2859, "ctype": "geo.room", "presentation": "MC1.F.03.037: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2859 }, { "id": 2860, "ctype": "geo.room", "presentation": "MC1.F.03.036: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2860 }, { "id": 2861, "ctype": "geo.room", "presentation": "MC1.F.03.035: Dienstraum Mitarbeiter (OG03)\n", "level_id": 5, "room_id": 2861 } ] }