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=16600
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=16620",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16580",
    "results": [
        {
            "id": 98940,
            "ctype": "campusonline.student",
            "presentation": "Julia Katharina Humer\n"
        },
        {
            "id": 98941,
            "ctype": "campusonline.student",
            "presentation": "Jessica Ickinger\n"
        },
        {
            "id": 98942,
            "ctype": "campusonline.student",
            "presentation": "Eveline Maria Inreiter\n"
        },
        {
            "id": 98943,
            "ctype": "campusonline.student",
            "presentation": "Monique Jenkins\n"
        },
        {
            "id": 98944,
            "ctype": "campusonline.student",
            "presentation": "Nadine Jasmin Buchner\n"
        },
        {
            "id": 98945,
            "ctype": "campusonline.student",
            "presentation": "Maximilian Karges\n"
        },
        {
            "id": 98946,
            "ctype": "campusonline.student",
            "presentation": "Astrid Kaufmann\n"
        },
        {
            "id": 98947,
            "ctype": "campusonline.student",
            "presentation": "Luka Kaufmann\n"
        },
        {
            "id": 98948,
            "ctype": "campusonline.student",
            "presentation": "Elias Kebbi\n"
        },
        {
            "id": 98949,
            "ctype": "campusonline.student",
            "presentation": "Christoph Kirschenhofer\n"
        },
        {
            "id": 98950,
            "ctype": "campusonline.student",
            "presentation": "Paul Knauseder\n"
        },
        {
            "id": 98951,
            "ctype": "campusonline.student",
            "presentation": "Nicole Kobler\n"
        },
        {
            "id": 98952,
            "ctype": "campusonline.student",
            "presentation": "Natalie Kogseder\n"
        },
        {
            "id": 98953,
            "ctype": "campusonline.student",
            "presentation": "Andreas Christian Krajger\n"
        },
        {
            "id": 98954,
            "ctype": "campusonline.student",
            "presentation": "Martin Philipp Kugler\n"
        },
        {
            "id": 98955,
            "ctype": "campusonline.student",
            "presentation": "Justin Lacher\n"
        },
        {
            "id": 98956,
            "ctype": "campusonline.student",
            "presentation": "Josef Martin Lanschützer\n"
        },
        {
            "id": 98957,
            "ctype": "campusonline.student",
            "presentation": "Sarah Leithenmayr\n"
        },
        {
            "id": 98958,
            "ctype": "campusonline.student",
            "presentation": "Sophie-Marie Maass\n"
        },
        {
            "id": 98959,
            "ctype": "campusonline.student",
            "presentation": "Stefan Markovic\n"
        }
    ]
}