search

@GET(value = "/v1/search")
abstract fun search(@Query(value = "q") query: String, @Query(value = "filter") filter: SearchFilter, @Query(value = "sort") sort: SearchSort = SearchSort.NAME, @Query(value = "limit") limit: Int = 10): Call<SearchResults>

Performs a search based on the provided query and filters.

Return

A Call object representing the API call that can be executed asynchronously.

Parameters

query

The search query.

filter

The search filter.

sort

The sorting option for the search results (optional, defaults to SearchSort.NAME).

limit

The maximum number of search results to retrieve (optional, defaults to 10).