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=16720
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=16740",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16700",
    "results": [
        {
            "id": 99091,
            "ctype": "campusonline.student",
            "presentation": "Kerstin Rosa Felbinger-Forster\n"
        },
        {
            "id": 99092,
            "ctype": "campusonline.student",
            "presentation": "Helene Gabriel\n"
        },
        {
            "id": 99093,
            "ctype": "campusonline.student",
            "presentation": "Evita Katharina Hecher\n"
        },
        {
            "id": 99094,
            "ctype": "campusonline.student",
            "presentation": "Gundula Sigrid Nothhaft\n"
        },
        {
            "id": 99095,
            "ctype": "campusonline.student",
            "presentation": "Katharina Orthofer\n"
        },
        {
            "id": 99096,
            "ctype": "campusonline.student",
            "presentation": "Sabine Preining\n"
        },
        {
            "id": 99097,
            "ctype": "campusonline.student",
            "presentation": "Viktoria Rösner\n"
        },
        {
            "id": 99098,
            "ctype": "campusonline.student",
            "presentation": "Antonio Vujica\n"
        },
        {
            "id": 99100,
            "ctype": "campusonline.student",
            "presentation": "Arnold Arzt\n"
        },
        {
            "id": 99102,
            "ctype": "campusonline.student",
            "presentation": "Johanna Wahlmüller\n"
        },
        {
            "id": 99105,
            "ctype": "campusonline.student",
            "presentation": "Kevin Alexander Gerold\n"
        },
        {
            "id": 99107,
            "ctype": "campusonline.student",
            "presentation": "Elena Shembyelyeva\n"
        },
        {
            "id": 99108,
            "ctype": "campusonline.student",
            "presentation": "Jan Michael Urban\n"
        },
        {
            "id": 99109,
            "ctype": "campusonline.student",
            "presentation": "Meekha George\n"
        },
        {
            "id": 99117,
            "ctype": "campusonline.student",
            "presentation": "Dr.med.univ. Iris Wohlmuth-Wieser\n"
        },
        {
            "id": 99119,
            "ctype": "campusonline.student",
            "presentation": "André Moreira Lemes\n"
        },
        {
            "id": 99120,
            "ctype": "campusonline.student",
            "presentation": "MUDr. Tatiana Pécová\n"
        },
        {
            "id": 99121,
            "ctype": "campusonline.student",
            "presentation": "Kenneth Leahey\n"
        },
        {
            "id": 99122,
            "ctype": "campusonline.student",
            "presentation": "Yoel Moyal\n"
        },
        {
            "id": 99123,
            "ctype": "campusonline.student",
            "presentation": "Dott.ssa Caterina Campisi\n"
        }
    ]
}