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=16820
HTTP 200 OK
  Allow: GET, HEAD, OPTIONS
  Content-Type: application/json
  Vary: Accept
  
  {
    "count": 18715,
    "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16840",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16800",
    "results": [
        {
            "id": 99564,
            "ctype": "campusonline.student",
            "presentation": "Verena Elisabeth Herrmann\n"
        },
        {
            "id": 99565,
            "ctype": "campusonline.student",
            "presentation": "Kerstin Hoinig\n"
        },
        {
            "id": 99566,
            "ctype": "campusonline.student",
            "presentation": "Tullia Rosalba Viviane Lacher\n"
        },
        {
            "id": 99567,
            "ctype": "campusonline.student",
            "presentation": "Alexandra Mayer\n"
        },
        {
            "id": 99569,
            "ctype": "campusonline.student",
            "presentation": "Gabriele Rosenkranz\n"
        },
        {
            "id": 99570,
            "ctype": "campusonline.student",
            "presentation": "Tanja Schmoll\n"
        },
        {
            "id": 99571,
            "ctype": "campusonline.student",
            "presentation": "Julia Taferner\n"
        },
        {
            "id": 99575,
            "ctype": "campusonline.student",
            "presentation": "Anita Schniebs\n"
        },
        {
            "id": 99589,
            "ctype": "campusonline.student",
            "presentation": "Sinem Usluer\n"
        },
        {
            "id": 99608,
            "ctype": "campusonline.student",
            "presentation": "Irene Flury\n"
        },
        {
            "id": 99618,
            "ctype": "campusonline.student",
            "presentation": "Adam Salon\n"
        },
        {
            "id": 99622,
            "ctype": "campusonline.student",
            "presentation": "Diana Schnögl\n"
        },
        {
            "id": 99661,
            "ctype": "campusonline.student",
            "presentation": "Anna Prisching\n"
        },
        {
            "id": 99697,
            "ctype": "campusonline.student",
            "presentation": "Romy Linda Marek\n"
        },
        {
            "id": 99701,
            "ctype": "campusonline.student",
            "presentation": "Alexander Christoph Pöppl\n"
        },
        {
            "id": 99702,
            "ctype": "campusonline.student",
            "presentation": "Andrej Bergauer\n"
        },
        {
            "id": 99703,
            "ctype": "campusonline.student",
            "presentation": "Jasmin Tatzer\n"
        },
        {
            "id": 99758,
            "ctype": "campusonline.student",
            "presentation": "Lea Katharina Stursa\n"
        },
        {
            "id": 99767,
            "ctype": "campusonline.student",
            "presentation": "Velikhan Muradaliev\n"
        },
        {
            "id": 99768,
            "ctype": "campusonline.student",
            "presentation": "Ena Pritisanac\n"
        }
    ]
}