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=80
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=100",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=60",
    "results": [
        {
            "id": 307,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Biomarker bei Entzündung und Lebensstilerkrankungen, None\n"
        },
        {
            "id": 372,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Chronische Entzündung in der Nephrologie, None\n"
        },
        {
            "id": 376,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Signal transduction in myeloid malignancies, None\n"
        },
        {
            "id": 395,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Psychosomatische Medizin und Gesundheitsförderung, None\n"
        },
        {
            "id": 52,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Neurochirurgie, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 53,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Neurologie, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 56,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Radiologie, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 252,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung Biomedizinische Forschung, 8036 Graz, Roseggerweg 48\n"
        },
        {
            "id": 293,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekulare Erregerdiagnostik, 8010 Graz, Universitätsplatz 4\n"
        },
        {
            "id": 327,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Humane Teratogene, 8010 Graz, Harrachgasse 21\n"
        },
        {
            "id": 357,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Dermatologie, 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 2,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro des Universitätsrates, 8036 Graz, Auenbruggerplatz 2/2\n"
        },
        {
            "id": 47,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Chirurgie, 8036 Graz, Auenbruggerplatz 5/5\n"
        },
        {
            "id": 140,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Imaging, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 158,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE für Forschungsinfrastruktur, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 235,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "ZMF Service Unit, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 344,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stronach-FE f. Komplementäre u. integrative Lasermedizin, None\n"
        },
        {
            "id": 22,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE für Studienmanagement, 8010 Graz, Harrachgasse 21/IV\n"
        },
        {
            "id": 38,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Lehrstuhl für Pharmakologie, 8010 Graz, Universitätsplatz 4/I\n"
        },
        {
            "id": 44,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Hals-, Nasen-, Ohren-Universitätsklinik, 8036 Graz, Auenbruggerplatz 26\n"
        }
    ]
}