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=20
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=40",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20",
    "results": [
        {
            "id": 294,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Umwelthygiene, None\n"
        },
        {
            "id": 295,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Medizinische Mykologie, None\n"
        },
        {
            "id": 300,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Kinderpathologie und Perinatalpathologie, None\n"
        },
        {
            "id": 305,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Statistische Bioinformatik, None\n"
        },
        {
            "id": 308,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molikulare Transplantationsmedizin, None\n"
        },
        {
            "id": 309,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätskliniken, None\n"
        },
        {
            "id": 310,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Institute, None\n"
        },
        {
            "id": 312,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Ernährung/Nutrition and Metabolism, None\n"
        },
        {
            "id": 317,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Immunpharmakologie, 8010 Graz, Universitätsplatz 4\n"
        },
        {
            "id": 319,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Metabolische und Vaskulare Pharmakologie, None\n"
        },
        {
            "id": 321,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Gravitational Physiology and Medicine, None\n"
        },
        {
            "id": 325,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Spezielle Gerinnungsanalysen und Gerinnungsforschung, None\n"
        },
        {
            "id": 329,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Elektronenmikroskopische Verfahren, None\n"
        },
        {
            "id": 330,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Organe, None\n"
        },
        {
            "id": 331,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Kommissionen und Vertretungen, None\n"
        },
        {
            "id": 332,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Organisationseinheiten, None\n"
        },
        {
            "id": 333,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Forschungszentrenunabhängige Institute, None\n"
        },
        {
            "id": 334,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Wissenschaftliche OEs, None\n"
        },
        {
            "id": 336,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Cuko Humanmedizin, None\n"
        },
        {
            "id": 337,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Cuko Zahnmedizin, None\n"
        }
    ]
}