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=16180
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=16200",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16160",
    "results": [
        {
            "id": 97943,
            "ctype": "campusonline.student",
            "presentation": "Fangrong Zhang\n"
        },
        {
            "id": 97978,
            "ctype": "campusonline.student",
            "presentation": "Dott. Isaac Lazzeri\n"
        },
        {
            "id": 98006,
            "ctype": "campusonline.student",
            "presentation": "Samra Stulanovic\n"
        },
        {
            "id": 98093,
            "ctype": "campusonline.student",
            "presentation": "Julia Teppan\n"
        },
        {
            "id": 98104,
            "ctype": "campusonline.student",
            "presentation": "Katharina Weiler\n"
        },
        {
            "id": 98125,
            "ctype": "campusonline.student",
            "presentation": "Michael Haider\n"
        },
        {
            "id": 98146,
            "ctype": "campusonline.student",
            "presentation": "Monika Horvat\n"
        },
        {
            "id": 98188,
            "ctype": "campusonline.student",
            "presentation": "Manuel Wiester\n"
        },
        {
            "id": 98202,
            "ctype": "campusonline.student",
            "presentation": "Beatrice Anna Brugger\n"
        },
        {
            "id": 98207,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Ing. Katharina Barbara Küntzel\n"
        },
        {
            "id": 98209,
            "ctype": "campusonline.student",
            "presentation": "Anna Maria Dieberger\n"
        },
        {
            "id": 98213,
            "ctype": "campusonline.student",
            "presentation": "Vadim Vershinin\n"
        },
        {
            "id": 98216,
            "ctype": "campusonline.student",
            "presentation": "Laurin Herbsthofer\n"
        },
        {
            "id": 98218,
            "ctype": "campusonline.student",
            "presentation": "Arabella Buchmann\n"
        },
        {
            "id": 98225,
            "ctype": "campusonline.student",
            "presentation": "Julia Stadler\n"
        },
        {
            "id": 98252,
            "ctype": "campusonline.student",
            "presentation": "Nina Anna Maria Karl\n"
        },
        {
            "id": 98263,
            "ctype": "campusonline.student",
            "presentation": "Julia Charlotte Neumann\n"
        },
        {
            "id": 98292,
            "ctype": "campusonline.student",
            "presentation": "Lizeth Carolina Toapanta Serrano\n"
        },
        {
            "id": 98293,
            "ctype": "campusonline.student",
            "presentation": "Mag.iur. Christoph Florian\n"
        },
        {
            "id": 98294,
            "ctype": "campusonline.student",
            "presentation": "Amir Hmissi\n"
        }
    ]
}