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=17400
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=17420",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=17380",
    "results": [
        {
            "id": 101507,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Ing. Magdalena Lang\n"
        },
        {
            "id": 101515,
            "ctype": "campusonline.student",
            "presentation": "Joshua Adekunle Babalola\n"
        },
        {
            "id": 101521,
            "ctype": "campusonline.student",
            "presentation": "Anja Högler\n"
        },
        {
            "id": 101533,
            "ctype": "campusonline.student",
            "presentation": "Klaus Franceschini\n"
        },
        {
            "id": 101536,
            "ctype": "campusonline.student",
            "presentation": "Laura Schweiger\n"
        },
        {
            "id": 101537,
            "ctype": "campusonline.student",
            "presentation": "Markus Durstberger\n"
        },
        {
            "id": 101556,
            "ctype": "campusonline.student",
            "presentation": "Hanna Shyla\n"
        },
        {
            "id": 101558,
            "ctype": "campusonline.student",
            "presentation": "Sara Ladina Blum\n"
        },
        {
            "id": 101560,
            "ctype": "campusonline.student",
            "presentation": "Viktoria Zachenhofer\n"
        },
        {
            "id": 101568,
            "ctype": "campusonline.student",
            "presentation": "Mag. pharm. Johanna Maria Kohlmayr\n"
        },
        {
            "id": 101582,
            "ctype": "campusonline.student",
            "presentation": "Katharina Barbara Rösel\n"
        },
        {
            "id": 101592,
            "ctype": "campusonline.student",
            "presentation": "Ahmed Mahdy\n"
        },
        {
            "id": 101597,
            "ctype": "campusonline.student",
            "presentation": "Dr.  Matas Jakubauskas\n"
        },
        {
            "id": 101599,
            "ctype": "campusonline.student",
            "presentation": "Dr.  Lina Jakubauskienė\n"
        },
        {
            "id": 101601,
            "ctype": "campusonline.student",
            "presentation": "Ana Luisa Santiso Sanchez\n"
        },
        {
            "id": 101609,
            "ctype": "campusonline.student",
            "presentation": "Michaela Haynaly\n"
        },
        {
            "id": 101613,
            "ctype": "campusonline.student",
            "presentation": "Gilbert Gustav Büsching\n"
        },
        {
            "id": 101615,
            "ctype": "campusonline.student",
            "presentation": "Róisín Carney\n"
        },
        {
            "id": 101617,
            "ctype": "campusonline.student",
            "presentation": "Teo Čavlina\n"
        },
        {
            "id": 101619,
            "ctype": "campusonline.student",
            "presentation": "Kevin Oliver Cobb\n"
        }
    ]
}