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=160
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=180",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=140",
    "results": [
        {
            "id": 416,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Science-Technology Interface: Structural Biology, 8010 Graz, Stiftingtalstrasse 24\n"
        },
        {
            "id": 322,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Interdisciplinary Developmental Neuroscience  , 8010 Graz, Harrachgasse 21/V\n"
        },
        {
            "id": 28,
            "ctype": "structure.organization",
            "level_id": 3,
            "room_id": 3846,
            "presentation": "Lehrstuhl für Physiologie, 8010 Graz, Neue Stiftingtalstraße 6/V\n"
        },
        {
            "id": 29,
            "ctype": "structure.organization",
            "level_id": 4,
            "room_id": 2827,
            "presentation": "Lehrstuhl für Biophysik, 8010 Graz, Neue Stiftingtalstraße 6/IV\n"
        },
        {
            "id": 153,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Öffentlichkeitsarbeit und Veranstaltungsmanagement, 8036 Graz, Auenbruggerplatz 2/9/III\n"
        },
        {
            "id": 160,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung Forschungsförderung und Technologietransfer, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 161,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung Forschungsdokumentation und -evaluierung, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 291,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Vizerektor für Klinische Agenden, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 353,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Transplantation Research Unit 3: Clinical Transplantation Research, None\n"
        },
        {
            "id": 311,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit: Biophysik, experimentelle Didaktik und Neue Medien, None\n"
        },
        {
            "id": 313,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit: Gender medicine: Geschlechtsspezifische Aspekt der Pathopsychologie, None\n"
        },
        {
            "id": 328,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Einzelzellanalyse (Research Unit for Single Cell Analyses), None\n"
        },
        {
            "id": 354,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Research Unit for Tissue Regeneration, Repair  Reconstruction, None\n"
        },
        {
            "id": 381,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Translational Nuclear Receptor Research in Liver Metabolism, None\n"
        },
        {
            "id": 32,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Lehrstuhl für Immunologie und Pathophysiologie, 8010 Graz, Heinrichstraße 31a\n"
        },
        {
            "id": 43,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Frauenheilkunde und Geburtshilfe, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 49,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Dermatologie und Venerologie, 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 51,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Kinder- und Jugendchirurgie, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 58,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Zahnmedizin und Mundgesundheit, 8010 Graz, Billrothgasse 4\n"
        },
        {
            "id": 59,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Blutgruppenserologie und Transfusionsmedizin, 8036 Graz, Auenbruggerplatz 48\n"
        }
    ]
}