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=15900
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=15920",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=15880",
    "results": [
        {
            "id": 95876,
            "ctype": "campusonline.student",
            "presentation": "Theresa Lerchl\n"
        },
        {
            "id": 95877,
            "ctype": "campusonline.student",
            "presentation": "Jakob Alexander Zgubic\n"
        },
        {
            "id": 95878,
            "ctype": "campusonline.student",
            "presentation": "Christina Maria Sauseng\n"
        },
        {
            "id": 95885,
            "ctype": "campusonline.student",
            "presentation": "Mathis Brockow\n"
        },
        {
            "id": 95886,
            "ctype": "campusonline.student",
            "presentation": "Erich Casari\n"
        },
        {
            "id": 95887,
            "ctype": "campusonline.student",
            "presentation": "Thomas Webinger\n"
        },
        {
            "id": 95888,
            "ctype": "campusonline.student",
            "presentation": "Christoph Stummer\n"
        },
        {
            "id": 95894,
            "ctype": "campusonline.student",
            "presentation": "Johannes Neumann\n"
        },
        {
            "id": 95896,
            "ctype": "campusonline.student",
            "presentation": "Katja Reisner\n"
        },
        {
            "id": 95898,
            "ctype": "campusonline.student",
            "presentation": "Philipp Reinhard Rößler\n"
        },
        {
            "id": 95899,
            "ctype": "campusonline.student",
            "presentation": "Etienne Marius Bertsch\n"
        },
        {
            "id": 95908,
            "ctype": "campusonline.student",
            "presentation": "Nina Ingeborg Zanghellini\n"
        },
        {
            "id": 95916,
            "ctype": "campusonline.student",
            "presentation": "Viktoria Magdalena Walter\n"
        },
        {
            "id": 95917,
            "ctype": "campusonline.student",
            "presentation": "Thomas Rathner\n"
        },
        {
            "id": 95926,
            "ctype": "campusonline.student",
            "presentation": "Jan Eike Freudenthal-Siefkes\n"
        },
        {
            "id": 95931,
            "ctype": "campusonline.student",
            "presentation": "Victoria Maria Beldinger\n"
        },
        {
            "id": 95932,
            "ctype": "campusonline.student",
            "presentation": "Barbara Christina Dienstbier\n"
        },
        {
            "id": 95934,
            "ctype": "campusonline.student",
            "presentation": "Marlene Kienast\n"
        },
        {
            "id": 95936,
            "ctype": "campusonline.student",
            "presentation": "Christina Antonia Schorn\n"
        },
        {
            "id": 95938,
            "ctype": "campusonline.student",
            "presentation": "Antonios Manoli\n"
        }
    ]
}