autocomplete
fun autocomplete(query: String, language: String? = null, limit: Int? = null): List<AssetAutocompleteResponsePredictionsInner>?
Autocomplete for assets
Return
AssetAutocompleteResponse
Parameters
query
Search query combining one or more search clauses. See the REST API documentation
language
The language code, using ISO 639-2 Alpha-2 country codes, indicating in which language the localized name property should be searched , if present, or else the default name property.
limit
If your request returns a high number of assets you should use the limit parameters to return only the firsts matching elements (Default is 5, max is 50).
Throws
If the request is not correctly configured
Rethrows the OkHttp execute method exception
If the API returns an informational or redirection response
Client Exception
If the API returns a client error response
Server Exception
If the API returns a server error response