search
Returns a listing of files matching the given search criteria. Supports paging through the result.
Categories:
http://your-server/rest/search
Since 1.0.0
Deprecated since 1.4.0, use search2
instead.
Returns a listing of files matching the given search criteria. Supports paging through the result.
Parameters
Parameter | Req. | OpenS. | Default | Comment |
---|---|---|---|---|
artist |
No | Artist to search for. | ||
album |
No | Album to searh for. | ||
title |
No | Song title to search for. | ||
any |
No | Searches all fields. | ||
count |
No | 20 | Maximum number of results to return. | |
offset |
No | 0 | Search result offset. Used for paging. | |
newerThan |
No | Only return matches that are newer than this. Given as milliseconds since 1970. |
Example
http://your-server/rest/search.view?u=demo&p=demo&v=1.13.0&c=AwesomeClientName&f=json
Result
A subsonic-response
element with a nested searchResult
element on success.
// TODO
// TODO
Field | Type | Req. | OpenS. | Details |
---|---|---|---|---|
searchResult |
searchResult |
Yes | The result |
Last modified March 31, 2023: Remove "Reference" level (0e00cdd)