Playback Control

Add an object to the localplay server

Changed on

This is for controlling localplay

post/localplay/add

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/localplay/add
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Query parameters

filterstring

Object id

type'song' | 'video' | 'podcast_episode' | 'broadcast' | 'live_stream' | 'democratic'
clear0 | 1

Clear the current playlist before adding

Request body

filterstring required

Object id

type'song' | 'video' | 'podcast_episode' | 'broadcast' | 'live_stream' | 'democratic'
clear0 | 1

Clear the current playlist before adding

Response

Localplay response

Changes

    • info

      added the new enum value broadcast to the query request parameter type

    • info

      added the new enum value democratic to the query request parameter type

    • info

      added the new enum value live_stream to the query request parameter type

    • info

      added the new broadcast enum value to the request property (media type: application/json)

    • info

      added the new broadcast enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new democratic enum value to the request property (media type: application/json)

    • info

      added the new democratic enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      added the new live_stream enum value to the request property (media type: application/json)

    • info

      added the new live_stream enum value to the request property (media type: application/x-www-form-urlencoded)

    • info

      api operation id localplayAdd was added

    • info

      added optional request body

    • info

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