## Autocomplete [/library/sections/{sectionId}/autocomplete{?type,field%2Equery,filters}] The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`. Returns a set of items from the filtered items whose {field} starts with {field}.query. - Todo: - As implemented the endpoint does not seem to be reflecting the tag type in the element at the moment - Find all supported filters for autocomplete (We may have missing joins for some filters) + Parameters + sectionId: 1 (number, required) - Section identifier + type: 1 (number, required) - Item type + field%2Equery (string, required) - "field" stands in for any field, the value is a partial string for matching + filters (string, optional) - This fake parameter stands in for the various filter parameters ### Retrieve matching tags or items [GET] + Request With title.query=a (text/xml) + Response 200 (text/xml;charset=utf-8) Example returning items + Body ```xml ``` + Request With genre.query=a (text/xml) + Response 200 (text/xml;charset=utf-8) Example returning tags + Headers Accept: text/xml + Body ```xml ```