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=16740
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=16760",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=16720",
    "results": [
        {
            "id": 99129,
            "ctype": "campusonline.student",
            "presentation": "Dr.med.univ. Alberto Gyasi\n"
        },
        {
            "id": 99131,
            "ctype": "campusonline.student",
            "presentation": "Julian Kühnl\n"
        },
        {
            "id": 99133,
            "ctype": "campusonline.student",
            "presentation": "Philipp Christian Manus\n"
        },
        {
            "id": 99142,
            "ctype": "campusonline.student",
            "presentation": "Sophie Honeder\n"
        },
        {
            "id": 99144,
            "ctype": "campusonline.student",
            "presentation": "Meike Schulz\n"
        },
        {
            "id": 99148,
            "ctype": "campusonline.student",
            "presentation": "Dr.med.univ. Florian Bodner\n"
        },
        {
            "id": 99149,
            "ctype": "campusonline.student",
            "presentation": "Severin Matthias Hacker\n"
        },
        {
            "id": 99152,
            "ctype": "campusonline.student",
            "presentation": "Tina Goršek\n"
        },
        {
            "id": 99155,
            "ctype": "campusonline.student",
            "presentation": "Franziska Augustin\n"
        },
        {
            "id": 99158,
            "ctype": "campusonline.student",
            "presentation": "Christoph Heininger\n"
        },
        {
            "id": 99160,
            "ctype": "campusonline.student",
            "presentation": "M.Sc. Anna Pukaluk\n"
        },
        {
            "id": 99163,
            "ctype": "campusonline.student",
            "presentation": "Marlene Zollner\n"
        },
        {
            "id": 99165,
            "ctype": "campusonline.student",
            "presentation": "Sarah Samouri\n"
        },
        {
            "id": 99180,
            "ctype": "campusonline.student",
            "presentation": "Matthias Patrick Kroll\n"
        },
        {
            "id": 99181,
            "ctype": "campusonline.student",
            "presentation": "Laurids Maresch\n"
        },
        {
            "id": 99194,
            "ctype": "campusonline.student",
            "presentation": "Peter Hausharter\n"
        },
        {
            "id": 99197,
            "ctype": "campusonline.student",
            "presentation": "Dipl.-Ing. Snezana Radivojev\n"
        },
        {
            "id": 99198,
            "ctype": "campusonline.student",
            "presentation": "Mindaugas Kvietkauskas\n"
        },
        {
            "id": 99199,
            "ctype": "campusonline.student",
            "presentation": "Viktorija Žitkutė\n"
        },
        {
            "id": 99203,
            "ctype": "campusonline.student",
            "presentation": "Katharina Köppel\n"
        }
    ]
}