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=1960
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=1980",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1940",
    "results": [
        {
            "id": 50704,
            "ctype": "campusonline.person",
            "presentation": "Judith Knöbl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50712,
            "ctype": "campusonline.person",
            "presentation": "Sen.Scientist  Priv.-Doz. Mag. Dr.rer.nat. Gerd Hörl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50713,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Gernot Grangl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50720,
            "ctype": "campusonline.person",
            "presentation": "Heimo Bauer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50724,
            "ctype": "campusonline.person",
            "presentation": "Mag.phil. Sabine Ozlberger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50726,
            "ctype": "campusonline.person",
            "presentation": "Bettina Schweighofer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50727,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Thomas Schwarz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50731,
            "ctype": "campusonline.person",
            "presentation": "Priv.-Doz. Dr.med.univ. Gerd Köhler\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50734,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Alexandra Kohlhammer-Dohr\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50740,
            "ctype": "campusonline.person",
            "presentation": "Priv.-Doz. Dr.med.univ. Gernot Schilcher\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50747,
            "ctype": "campusonline.person",
            "presentation": "Univ. FA Dr.med.univ. PhD. Andreas Reinisch\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50752,
            "ctype": "campusonline.person",
            "presentation": "Univ. FA Dr.med.univ. Holger Hubmann\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50757,
            "ctype": "campusonline.person",
            "presentation": "Sen.Lecturer Priv.-Doz. Dr.med.univ. Ulrike Pilsl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50761,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Katharina Marsoner\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50766,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Gustav Mittelbach\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50767,
            "ctype": "campusonline.person",
            "presentation": "Oberamtsassistentin Elke Wochesländer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50774,
            "ctype": "campusonline.person",
            "presentation": "Univ. FA Priv.-Doz. Dr.med.univ. Christian Fazekas\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50776,
            "ctype": "campusonline.person",
            "presentation": "Dr.med.univ. Wolfgang Kaschnitz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50777,
            "ctype": "campusonline.person",
            "presentation": "Iris Red\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50778,
            "ctype": "campusonline.person",
            "presentation": "Assoz. Prof. Priv.-Doz. Dr.med.univ. Georg Singer\n",
            "level_id": null,
            "room_id": null
        }
    ]
}