Browsing, Indexes and Lists
Get stats (song/album/artist etc) by type and filter
Changed onGet some items based on some simple search types and filters. (Random by default) This method HAD partial backwards compatibility with older api versions but it has now been removed Pass -1 limit to get all results. (0 will fall back to the popular_threshold value)
get/songs/stats
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/songs/stats
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Query parameters
filter'newest' | 'highest' | 'frequent' | 'recent' | 'forgotten' | 'flagged' | 'random' required
newest, highest, frequent, recent, forgotten, flagged, random
user_idinteger
usernamestring
offsetinteger
Return results starting from this index position
limitinteger
Maximum number of results to return
condstring
Apply additional browse filters using ';' separated key,value pairs.
sortstring
Sort key or key,order pair. Example: name or name,ASC.
Response
Stats result
Changes
- info
added the required property
//to the response with the status
- info
- info
added the required property
//to the response with the status
- info