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=16780
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=16800",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16760",
    "results": [
        {
            "id": 99298,
            "ctype": "campusonline.student",
            "presentation": "Magdalena Holter\n"
        },
        {
            "id": 99299,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Ing. (FH) Birgit Pohn\n"
        },
        {
            "id": 99301,
            "ctype": "campusonline.student",
            "presentation": "Zobia Hameed\n"
        },
        {
            "id": 99304,
            "ctype": "campusonline.student",
            "presentation": "Roshan Nematizadeh\n"
        },
        {
            "id": 99315,
            "ctype": "campusonline.student",
            "presentation": "Tamirlan Magomedov\n"
        },
        {
            "id": 99316,
            "ctype": "campusonline.student",
            "presentation": "Abdullah Al-Baghdadi\n"
        },
        {
            "id": 99317,
            "ctype": "campusonline.student",
            "presentation": "Christina Stinhöfer\n"
        },
        {
            "id": 99320,
            "ctype": "campusonline.student",
            "presentation": "Matthias Funck\n"
        },
        {
            "id": 99346,
            "ctype": "campusonline.student",
            "presentation": "Helena Ainhirn\n"
        },
        {
            "id": 99380,
            "ctype": "campusonline.student",
            "presentation": "Birgit Burger\n"
        },
        {
            "id": 99400,
            "ctype": "campusonline.student",
            "presentation": "Rosa Haller\n"
        },
        {
            "id": 99402,
            "ctype": "campusonline.student",
            "presentation": "Anna Eberhard\n"
        },
        {
            "id": 99410,
            "ctype": "campusonline.student",
            "presentation": "Begüm Okutan\n"
        },
        {
            "id": 99437,
            "ctype": "campusonline.student",
            "presentation": "Natalie Friedl\n"
        },
        {
            "id": 99441,
            "ctype": "campusonline.student",
            "presentation": "Paul Faschauner\n"
        },
        {
            "id": 99443,
            "ctype": "campusonline.student",
            "presentation": "Karin Kastner\n"
        },
        {
            "id": 99444,
            "ctype": "campusonline.student",
            "presentation": "Kerstin Rieger\n"
        },
        {
            "id": 99469,
            "ctype": "campusonline.student",
            "presentation": "Lesia Motrych\n"
        },
        {
            "id": 99470,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Ing. (FH) Angelika Rzepka\n"
        },
        {
            "id": 99481,
            "ctype": "campusonline.student",
            "presentation": "Isabella Kranacher\n"
        }
    ]
}