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=18140
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=18160",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=18120",
    "results": [
        {
            "id": 104186,
            "ctype": "campusonline.student",
            "presentation": "Lisa Kronfuß\n"
        },
        {
            "id": 104187,
            "ctype": "campusonline.student",
            "presentation": "Helene Waxenecker\n"
        },
        {
            "id": 104188,
            "ctype": "campusonline.student",
            "presentation": "Anna Katharina Winhardt\n"
        },
        {
            "id": 104189,
            "ctype": "campusonline.student",
            "presentation": "Marc Erik Bayer\n"
        },
        {
            "id": 104190,
            "ctype": "campusonline.student",
            "presentation": "Fabian Bekelaer\n"
        },
        {
            "id": 104191,
            "ctype": "campusonline.student",
            "presentation": "Aysen Melisa Dogan\n"
        },
        {
            "id": 104192,
            "ctype": "campusonline.student",
            "presentation": "Walter Schneider\n"
        },
        {
            "id": 104193,
            "ctype": "campusonline.student",
            "presentation": "Sophie Kofler\n"
        },
        {
            "id": 104194,
            "ctype": "campusonline.student",
            "presentation": "Andreas Suchorukov\n"
        },
        {
            "id": 104195,
            "ctype": "campusonline.student",
            "presentation": "Lucas Mortimer Schmidt\n"
        },
        {
            "id": 104197,
            "ctype": "campusonline.student",
            "presentation": "Julian Schott\n"
        },
        {
            "id": 104198,
            "ctype": "campusonline.student",
            "presentation": "Monika Dambauer\n"
        },
        {
            "id": 104199,
            "ctype": "campusonline.student",
            "presentation": "Julian Krämer\n"
        },
        {
            "id": 104200,
            "ctype": "campusonline.student",
            "presentation": "Judith Sternbauer\n"
        },
        {
            "id": 104201,
            "ctype": "campusonline.student",
            "presentation": "Lina Trosien\n"
        },
        {
            "id": 104202,
            "ctype": "campusonline.student",
            "presentation": "Katharina Petrak\n"
        },
        {
            "id": 104203,
            "ctype": "campusonline.student",
            "presentation": "Julian Loibl\n"
        },
        {
            "id": 104204,
            "ctype": "campusonline.student",
            "presentation": "Lena Rutzinger\n"
        },
        {
            "id": 104206,
            "ctype": "campusonline.student",
            "presentation": "Gabriele Schellander\n"
        },
        {
            "id": 104210,
            "ctype": "campusonline.student",
            "presentation": "Beau Bakker\n"
        }
    ]
}