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=40
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=60",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=20",
    "results": [
        {
            "id": 338,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Cuko für Doktoratsstudien, None\n"
        },
        {
            "id": 339,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Cuko für postgraduale Ausbildungen, None\n"
        },
        {
            "id": 340,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Cuko Pflegewissenschaft, None\n"
        },
        {
            "id": 341,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit f. Notfallmedizin, None\n"
        },
        {
            "id": 343,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Perioperative Thrombozytenfunktion, None\n"
        },
        {
            "id": 346,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Hematopoietic stem cell differentation, None\n"
        },
        {
            "id": 347,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Klinisch-serologische Immunhämatologie und Blutgruppengenetik, None\n"
        },
        {
            "id": 351,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Transplantation Research Unit 1: Xenotransplantation, None\n"
        },
        {
            "id": 358,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Photodermatologie, 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 359,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Teledermatologie, 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 360,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Dermatopathologie, 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 363,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit NBI/Wissenschaftliches Arbeiten, None\n"
        },
        {
            "id": 370,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Stammzellenforschung, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 371,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Leberversagen, None\n"
        },
        {
            "id": 374,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Myeloid Cells  Leukem, None\n"
        },
        {
            "id": 375,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Epigenetische und genetische Tumorbiomarker, None\n"
        },
        {
            "id": 377,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Lymphoid Malignancies, None\n"
        },
        {
            "id": 380,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Myokardiale Energetik and Metabolismus, None\n"
        },
        {
            "id": 382,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Kinder- und Jugendheilkunde, None\n"
        },
        {
            "id": 397,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Neurosonologie, 8036 Graz, Auenbruggerplatz 22\n"
        }
    ]
}