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=700
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=720", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=680", "results": [ { "id": 2887, "ctype": "geo.room", "presentation": "MC1.E.04.026: Labor A (OG04)\n", "level_id": 4, "room_id": 2887 }, { "id": 2888, "ctype": "geo.room", "presentation": "MC1.E.04.027: Labor A (OG04)\n", "level_id": 4, "room_id": 2888 }, { "id": 2889, "ctype": "geo.room", "presentation": "MC1.E.04.028: Labor B (OG04)\n", "level_id": 4, "room_id": 2889 }, { "id": 2890, "ctype": "geo.room", "presentation": "MC1.E.04.029: Labor B (OG04)\n", "level_id": 4, "room_id": 2890 }, { "id": 2891, "ctype": "geo.room", "presentation": "MC1.E.04.024: Labor D (OG04)\n", "level_id": 4, "room_id": 2891 }, { "id": 2892, "ctype": "geo.room", "presentation": "MC1.E.04.025: Labor D (OG04)\n", "level_id": 4, "room_id": 2892 }, { "id": 2893, "ctype": "geo.room", "presentation": "MC1.E.04.023: Labor C (OG04)\n", "level_id": 4, "room_id": 2893 }, { "id": 2894, "ctype": "geo.room", "presentation": "MC1.E.04.019: Labor G (OG04)\n", "level_id": 4, "room_id": 2894 }, { "id": 2895, "ctype": "geo.room", "presentation": "MC1.E.04.018: Labor G (OG04)\n", "level_id": 4, "room_id": 2895 }, { "id": 2896, "ctype": "geo.room", "presentation": "MC1.E.04.020: Labor E (OG04)\n", "level_id": 4, "room_id": 2896 }, { "id": 2897, "ctype": "geo.room", "presentation": "MC1.E.04.021: Labor F (OG04)\n", "level_id": 4, "room_id": 2897 }, { "id": 2898, "ctype": "geo.room", "presentation": "MC1.E.04.022: Labor F (OG04)\n", "level_id": 4, "room_id": 2898 }, { "id": 2899, "ctype": "geo.room", "presentation": "MC1.E.04.017: Labor G (OG04)\n", "level_id": 4, "room_id": 2899 }, { "id": 2900, "ctype": "geo.room", "presentation": "MC1.E.04.016: Labor G (OG04)\n", "level_id": 4, "room_id": 2900 }, { "id": 2929, "ctype": "geo.room", "presentation": "MC1.C.03.019: Mikroskopiersaal Histologie (OG03)\n", "level_id": 5, "room_id": 2929 }, { "id": 2938, "ctype": "geo.room", "presentation": "MC1.C.03.001: Stiege C (OG03)\n", "level_id": 5, "room_id": 2938 }, { "id": 2943, "ctype": "geo.room", "presentation": "MC1.C.03.011: WC B (OG03)\n", "level_id": 5, "room_id": 2943 }, { "id": 2945, "ctype": "geo.room", "presentation": "MC1.C.03.013: WC D (OG03)\n", "level_id": 5, "room_id": 2945 }, { "id": 2946, "ctype": "geo.room", "presentation": "MC1.C.03.014: WC H (OG03)\n", "level_id": 5, "room_id": 2946 }, { "id": 2964, "ctype": "geo.room", "presentation": "MC1.D.03.001: Stiege D (OG03)\n", "level_id": 5, "room_id": 2964 } ] }