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=2100
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=2120",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=2080",
    "results": [
        {
            "id": 51105,
            "ctype": "campusonline.person",
            "presentation": "Werner Stieber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51107,
            "ctype": "campusonline.person",
            "presentation": "Cornelia Missbrenner\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51109,
            "ctype": "campusonline.person",
            "presentation": "Katrin Platzer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51117,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. MPH Nicole Posch\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51132,
            "ctype": "campusonline.person",
            "presentation": "Bettina Pummer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51136,
            "ctype": "campusonline.person",
            "presentation": "Assoz. Prof. Priv.-Doz. Dr.med.univ. Thomas Gary\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51154,
            "ctype": "campusonline.person",
            "presentation": "Mag. Dr.rer.nat. Kristina Kofler\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51158,
            "ctype": "campusonline.person",
            "presentation": "Sen.Scientist  Priv.-Doz. Mag.pharm. Dr.scient.med. Markus Waldeck-Weiermair\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51159,
            "ctype": "campusonline.person",
            "presentation": "Priv.-Doz. Dr.med.univ. Ingeborg Stelzer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51163,
            "ctype": "campusonline.person",
            "presentation": "Sabine Kern\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51164,
            "ctype": "campusonline.person",
            "presentation": "Priv.-Doz. Mag.rer.nat. Dr.scient.med. Claudia Bernecker\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51192,
            "ctype": "campusonline.person",
            "presentation": "Dr. Ilse Hellemann-Geschwinder\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51198,
            "ctype": "campusonline.person",
            "presentation": "Dr.scient.med. Herbert Galler\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51205,
            "ctype": "campusonline.person",
            "presentation": "Priv.-Doz. Mag. Dr.rer.nat. Adelheid Kresse\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51212,
            "ctype": "campusonline.person",
            "presentation": "Dipl.-Ing. Gerald Gabler\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51215,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Michaela Nebl-Vogl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51263,
            "ctype": "campusonline.person",
            "presentation": "MSc Petra Kieslinger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51268,
            "ctype": "campusonline.person",
            "presentation": "Mag.phil. Dr.phil. Daniela Kleinschek\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51269,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Monika Schanbacher\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 51278,
            "ctype": "campusonline.person",
            "presentation": "Susanne Baumann\n",
            "level_id": null,
            "room_id": null
        }
    ]
}