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=1780
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=1800",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1760",
    "results": [
        {
            "id": 50271,
            "ctype": "campusonline.person",
            "presentation": "Gabriele Scheiber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50273,
            "ctype": "campusonline.person",
            "presentation": "Michaela Wiesner\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50274,
            "ctype": "campusonline.person",
            "presentation": "Dr.phil. Christine Helige\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50275,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Barbara Küberl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50276,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Ingrid Lotz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50278,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Beate Scheiber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50280,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Michaela Janschitz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50282,
            "ctype": "campusonline.person",
            "presentation": "Gerda Schwarzl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50284,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Roberta Bichler\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50286,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Sieglinde Kirchengast\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50288,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Sabine Paulitsch\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50289,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Ottilia Fruhmann\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50290,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Regina Knöbl-Hellberg\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50291,
            "ctype": "campusonline.person",
            "presentation": "Oberkontrollerin Roswitha Sorger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50292,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Alfred Stelzl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50295,
            "ctype": "campusonline.person",
            "presentation": "Oberrat Mag.rer.nat. Gerold Schwantzer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50296,
            "ctype": "campusonline.person",
            "presentation": "Hofrätin Mag.iur. Dr.iur. Iris Curman\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50301,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Mag.rer.soc.oec. Michel Schenouda\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50302,
            "ctype": "campusonline.person",
            "presentation": "MSc MSc Monika Artl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50303,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Gabriele Trummer\n",
            "level_id": null,
            "room_id": null
        }
    ]
}