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=140
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=160",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=120",
    "results": [
        {
            "id": 251,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung Biobank Graz, 8010 Graz, Neue Stiftingtalstraße 2\n"
        },
        {
            "id": 348,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit interdisziplinärer Fächer, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 350,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Sektion Chirurgische Forschung, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 365,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Konservative gynäkologische Onkologie, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 369,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Stoffwechsel und Gefäßbiologie, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 383,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Unfallforschung und Unfallprophylaxe, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 389,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Infektiologie und Vakzinologie, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 398,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Bildgebende neurologische Forschung, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 139,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Mass Spectrometry, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 141,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Molecular Biology, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 164,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Ultrastructure Analysis, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 176,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Qualitäts- und Wissensmanagement, 8036 Graz, Auenbruggerplatz 2/9\n"
        },
        {
            "id": 234,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Computational Bioanalytics, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 296,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekularpathologie gynäkologischer Tumoren, 8036 Graz, Auenbruggerplatz 25/1\n"
        },
        {
            "id": 427,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Büro der Dekanin*des Dekans für Doktoratsstudien, None\n"
        },
        {
            "id": 21,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE Informationstechnologie und Digitalisierung, 8010 Graz, Wartingergasse 43/XIII\n"
        },
        {
            "id": 88,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Neonatologie, 8036 Graz, Auenbruggerplatz 34/II\n"
        },
        {
            "id": 315,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Genetische Epidemiologie, 8010 Graz, Neue Stiftingtalstraße 6/VI\n"
        },
        {
            "id": 412,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE Recht und Risikomanagement, 8010 Graz, Mozartgasse 14/II\n"
        },
        {
            "id": 413,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Lehre mit Medien, 8010 Graz, Harrachgasse 21/II\n"
        }
    ]
}