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=18480
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=18500",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=18460",
    "results": [
        {
            "id": 104925,
            "ctype": "campusonline.student",
            "presentation": "Birgit Taurer\n"
        },
        {
            "id": 104927,
            "ctype": "campusonline.student",
            "presentation": "Anita Strasser\n"
        },
        {
            "id": 104931,
            "ctype": "campusonline.student",
            "presentation": "Melanie Scheucher\n"
        },
        {
            "id": 104933,
            "ctype": "campusonline.student",
            "presentation": "Annemarie Unmann\n"
        },
        {
            "id": 104935,
            "ctype": "campusonline.student",
            "presentation": "Carla-Maria Francesca Heuer\n"
        },
        {
            "id": 104943,
            "ctype": "campusonline.student",
            "presentation": "Tina Čop\n"
        },
        {
            "id": 104945,
            "ctype": "campusonline.student",
            "presentation": "Bianca Capocaccia\n"
        },
        {
            "id": 104947,
            "ctype": "campusonline.student",
            "presentation": "Claudia Gries\n"
        },
        {
            "id": 104950,
            "ctype": "campusonline.student",
            "presentation": "Anne Marie Neumaier\n"
        },
        {
            "id": 104952,
            "ctype": "campusonline.student",
            "presentation": "Hannah-Sophia Reichel\n"
        },
        {
            "id": 104954,
            "ctype": "campusonline.student",
            "presentation": "Elisabeth Danner\n"
        },
        {
            "id": 104956,
            "ctype": "campusonline.student",
            "presentation": "Dr.med.dent. Ana Ozimic\n"
        },
        {
            "id": 104960,
            "ctype": "campusonline.student",
            "presentation": "Mag.phil. Birgit Holzbauer\n"
        },
        {
            "id": 104962,
            "ctype": "campusonline.student",
            "presentation": "Kerolayn Arnold\n"
        },
        {
            "id": 104964,
            "ctype": "campusonline.student",
            "presentation": "Vanessa Sabrina Supanz\n"
        },
        {
            "id": 104966,
            "ctype": "campusonline.student",
            "presentation": "Elena Malle\n"
        },
        {
            "id": 104968,
            "ctype": "campusonline.student",
            "presentation": "Elisabeth Teresa Rauch\n"
        },
        {
            "id": 104970,
            "ctype": "campusonline.student",
            "presentation": "Sabrina Neubauer\n"
        },
        {
            "id": 104972,
            "ctype": "campusonline.student",
            "presentation": "Günther Kummer\n"
        },
        {
            "id": 104974,
            "ctype": "campusonline.student",
            "presentation": "Susanne Klotz\n"
        }
    ]
}