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=60
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=80",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=40",
    "results": [
        {
            "id": 400,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Neurology Biomarker Research Unit, None\n"
        },
        {
            "id": 401,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Movement Disorders, None\n"
        },
        {
            "id": 402,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Musculo-Skelettale FE f. Biomaterialien, None\n"
        },
        {
            "id": 405,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Magnetresonanz-Physik, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 407,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Computertomographie, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 408,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Neurointervention, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 410,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Nichtklinische Wissenschaftliche OEs, None\n"
        },
        {
            "id": 411,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische wissenschafliche OEs, None\n"
        },
        {
            "id": 414,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Animal Facility, None\n"
        },
        {
            "id": 415,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Wissenschaftliche Werkstätten, None\n"
        },
        {
            "id": 417,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Weitere OEs, None\n"
        },
        {
            "id": 418,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Wichtige Gesundheitsthemen, None\n"
        },
        {
            "id": 419,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Ethik und Medizinrecht, None\n"
        },
        {
            "id": 421,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Infektiologie, None\n"
        },
        {
            "id": 422,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Digital Surgery, None\n"
        },
        {
            "id": 423,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Fetale Medizin, None\n"
        },
        {
            "id": 424,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Frühe Prägung, None\n"
        },
        {
            "id": 425,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Altersmedizin und lebenslange Gesundheit, None\n"
        },
        {
            "id": 428,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Studienleistungen und Abschlüsse, None\n"
        },
        {
            "id": 299,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Functional Proteomics and Metabolic Pathways, None\n"
        }
    ]
}