Now Playing
Update the server with the client player state
Changed onInform the server about the state of your client. (Song you are playing, Play/Pause state, etc.)
post/videos/{video_id}/playback
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/videos/{video_id}/playback
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Path parameters
video_idstring required
Unique identifier of the video.
Query parameters
type'song' | 'video' | 'podcast_episode'
state'play' | 'pause' | 'stop'
timeinteger
clientstring
Client/agent name recorded with the request.
Request body
Response
Now playing response
Changes
- info
added the new enum value
pauseto thequeryrequest parameterstate - info
added the new
pauseenum value to the request property(media type: application/json) - info
added the new
pauseenum value to the request property(media type: application/x-www-form-urlencoded)
- info
- info
api operation id
playerVideosPlaybackwas added - info
added optional request body
- 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