Playback Control

Control democratic play

Changed on

This is for controlling democratic play (Songs only)

post/democratic/{object_id}

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://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

method'vote' | 'devote' | 'playlist' | 'play' required

Response

Democratic response

OR
OR

Changes

    • info

      api operation id democratic was added

    • info

      added optional request body

    • info

      the query request parameter method became 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

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status