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=17680
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=17700",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=17660",
    "results": [
        {
            "id": 102969,
            "ctype": "campusonline.student",
            "presentation": "Ulrike Berghold\n"
        },
        {
            "id": 102971,
            "ctype": "campusonline.student",
            "presentation": "Markus Zott\n"
        },
        {
            "id": 102974,
            "ctype": "campusonline.student",
            "presentation": "Maria Danter\n"
        },
        {
            "id": 102976,
            "ctype": "campusonline.student",
            "presentation": "Verena Gutmann\n"
        },
        {
            "id": 102978,
            "ctype": "campusonline.student",
            "presentation": "Nicole Hiermann\n"
        },
        {
            "id": 102983,
            "ctype": "campusonline.student",
            "presentation": "Juliana Schwanzer\n"
        },
        {
            "id": 102987,
            "ctype": "campusonline.student",
            "presentation": "Petra Lerchenmüller\n"
        },
        {
            "id": 102989,
            "ctype": "campusonline.student",
            "presentation": "Melanie Mauerhofer\n"
        },
        {
            "id": 102991,
            "ctype": "campusonline.student",
            "presentation": "Vesna Redzic\n"
        },
        {
            "id": 102993,
            "ctype": "campusonline.student",
            "presentation": "Elisabeth Renner\n"
        },
        {
            "id": 102995,
            "ctype": "campusonline.student",
            "presentation": "Nadine Steiner\n"
        },
        {
            "id": 102997,
            "ctype": "campusonline.student",
            "presentation": "Alena Sophie Yasin-Ganster\n"
        },
        {
            "id": 102999,
            "ctype": "campusonline.student",
            "presentation": "Tanja Zeiler\n"
        },
        {
            "id": 103001,
            "ctype": "campusonline.student",
            "presentation": "Christine Maria Zopf\n"
        },
        {
            "id": 103003,
            "ctype": "campusonline.student",
            "presentation": "Sandra Peer\n"
        },
        {
            "id": 103009,
            "ctype": "campusonline.student",
            "presentation": "Stella Antoniou\n"
        },
        {
            "id": 103011,
            "ctype": "campusonline.student",
            "presentation": "Shadya Said Hamood Al Sinawi\n"
        },
        {
            "id": 103013,
            "ctype": "campusonline.student",
            "presentation": "Michael Zuniga Rojas\n"
        },
        {
            "id": 103015,
            "ctype": "campusonline.student",
            "presentation": "Liv Paltiel\n"
        },
        {
            "id": 103017,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Biol. Dr.rer.nat. Cristina Amparo Hagmann\n"
        }
    ]
}