Playback Control
Control democratic play
Changed onThis is for controlling democratic play (Songs only)
post/democratic/{object_id}
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/democratic/{object_id}
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Path parameters
object_idstring required
Unique identifier of the object.
Query parameters
method'vote' | 'devote' | 'playlist' | 'play'
Request body
Response
Democratic response
Changes
- info
api operation id
democraticwas added - info
added optional request body
- info
the
queryrequest parametermethodbecame optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status
- breaking