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=16880
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=16900",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16860",
    "results": [
        {
            "id": 100137,
            "ctype": "campusonline.student",
            "presentation": "Alexandra Süß\n"
        },
        {
            "id": 100139,
            "ctype": "campusonline.student",
            "presentation": "Larissa Sarah Winkelbauer\n"
        },
        {
            "id": 100141,
            "ctype": "campusonline.student",
            "presentation": "Sophie Hinterhölzl\n"
        },
        {
            "id": 100143,
            "ctype": "campusonline.student",
            "presentation": "Florian Hinterhölzl\n"
        },
        {
            "id": 100145,
            "ctype": "campusonline.student",
            "presentation": "Marie-Therese Sallmutter\n"
        },
        {
            "id": 100147,
            "ctype": "campusonline.student",
            "presentation": "Lena Rettensteiner\n"
        },
        {
            "id": 100149,
            "ctype": "campusonline.student",
            "presentation": "Davide Rosolen\n"
        },
        {
            "id": 100151,
            "ctype": "campusonline.student",
            "presentation": "Clemens Alfred Johann Brunner\n"
        },
        {
            "id": 100154,
            "ctype": "campusonline.student",
            "presentation": "Stefan Paul Wernig\n"
        },
        {
            "id": 100156,
            "ctype": "campusonline.student",
            "presentation": "Christoph Alexander Dornbusch\n"
        },
        {
            "id": 100158,
            "ctype": "campusonline.student",
            "presentation": "Lisa Reiter\n"
        },
        {
            "id": 100160,
            "ctype": "campusonline.student",
            "presentation": "Clemens Nimmervoll\n"
        },
        {
            "id": 100163,
            "ctype": "campusonline.student",
            "presentation": "Jonathan Postl\n"
        },
        {
            "id": 100165,
            "ctype": "campusonline.student",
            "presentation": "Theresa Wilflingseder\n"
        },
        {
            "id": 100167,
            "ctype": "campusonline.student",
            "presentation": "Isabell Hochmann\n"
        },
        {
            "id": 100169,
            "ctype": "campusonline.student",
            "presentation": "Jana Puttins\n"
        },
        {
            "id": 100171,
            "ctype": "campusonline.student",
            "presentation": "Julia Alexandra Müller\n"
        },
        {
            "id": 100173,
            "ctype": "campusonline.student",
            "presentation": "Christof Poier\n"
        },
        {
            "id": 100175,
            "ctype": "campusonline.student",
            "presentation": "Barbara Hofer\n"
        },
        {
            "id": 100179,
            "ctype": "campusonline.student",
            "presentation": "Antonia Marie Laule\n"
        }
    ]
}