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=100
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=120",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=80",
    "results": [
        {
            "id": 61,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Strahlentherapie-Radioonkologie, 8036 Graz, Auenbruggerplatz 32\n"
        },
        {
            "id": 109,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Institut für Pflegewissenschaft, 8010 Graz, Universitätsplatz 4/DG\n"
        },
        {
            "id": 152,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Interne Revision, 8010 Graz, Wartingergasse 43/X\n"
        },
        {
            "id": 289,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung International Office, 8010 Graz, Harrachgasse 21/IV\n"
        },
        {
            "id": 316,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Translationale Neurogastroenterologie, 8010 Graz, Universitätsplatz 4/I\n"
        },
        {
            "id": 320,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Pharmakologie, 8010 Graz, Universitätsplatz 4/I\n"
        },
        {
            "id": 323,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Physiologie, 8010 Graz, Harrachgasse 21/V\n"
        },
        {
            "id": 7,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro des Rektors, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 25,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Otto Loewi Forschungszentrum, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 27,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Gottfried Schatz Forschungszentrum, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 159,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE für Forschungsmanagement, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 248,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE Human Resources, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 286,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Medizinische Universität Graz, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 335,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro des Senats, 8036 Graz, Auenbruggerplatz 2/9/II\n"
        },
        {
            "id": 292,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Liquid biopsiesfor personalized medicine in cancer, None\n"
        },
        {
            "id": 297,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekularpathologie von Brustdrüsen- und gynäkologischen Tumoren, None\n"
        },
        {
            "id": 355,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Research Unit for Safety in Health, None\n"
        },
        {
            "id": 356,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Mechanical Circulatory Support and Heart Replacement, None\n"
        },
        {
            "id": 373,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Arbeitsgruppe für experimentelle und molekulare Hepatologie, None\n"
        },
        {
            "id": 379,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Clinical and translational cardiac arrhythmia research, None\n"
        }
    ]
}