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=16260
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=16280",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16240",
    "results": [
        {
            "id": 98370,
            "ctype": "campusonline.student",
            "presentation": "Anna Migl\n"
        },
        {
            "id": 98371,
            "ctype": "campusonline.student",
            "presentation": "Anna Stockinger\n"
        },
        {
            "id": 98372,
            "ctype": "campusonline.student",
            "presentation": "Angelika Rauchlatner\n"
        },
        {
            "id": 98373,
            "ctype": "campusonline.student",
            "presentation": "Eva-Maria Meyer\n"
        },
        {
            "id": 98374,
            "ctype": "campusonline.student",
            "presentation": "Elena Susanne Noé\n"
        },
        {
            "id": 98375,
            "ctype": "campusonline.student",
            "presentation": "Andreas Herbert Wimmer\n"
        },
        {
            "id": 98376,
            "ctype": "campusonline.student",
            "presentation": "Evelyn Kupsch\n"
        },
        {
            "id": 98377,
            "ctype": "campusonline.student",
            "presentation": "Linda Irmler\n"
        },
        {
            "id": 98378,
            "ctype": "campusonline.student",
            "presentation": "Julia Berger\n"
        },
        {
            "id": 98381,
            "ctype": "campusonline.student",
            "presentation": "Christina Galleitner\n"
        },
        {
            "id": 98382,
            "ctype": "campusonline.student",
            "presentation": "Jonas Michael Stelzer\n"
        },
        {
            "id": 98383,
            "ctype": "campusonline.student",
            "presentation": "Carina Sophie Anzinger\n"
        },
        {
            "id": 98384,
            "ctype": "campusonline.student",
            "presentation": "Priska Hopfgartner\n"
        },
        {
            "id": 98385,
            "ctype": "campusonline.student",
            "presentation": "Bianca Scharf\n"
        },
        {
            "id": 98386,
            "ctype": "campusonline.student",
            "presentation": "Johanna Hutter\n"
        },
        {
            "id": 98387,
            "ctype": "campusonline.student",
            "presentation": "Anneli Slana\n"
        },
        {
            "id": 98388,
            "ctype": "campusonline.student",
            "presentation": "Chiara Sima\n"
        },
        {
            "id": 98389,
            "ctype": "campusonline.student",
            "presentation": "Laura Fölser\n"
        },
        {
            "id": 98390,
            "ctype": "campusonline.student",
            "presentation": "Lena Hebar\n"
        },
        {
            "id": 98391,
            "ctype": "campusonline.student",
            "presentation": "Felizitas Hermann\n"
        }
    ]
}