Playback Control

Add media to the localplay server

Changed on

This is for controlling localplay

post/live-streams/{live_stream_id}/localplay

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/live-streams/{live_stream_id}/localplay
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Path parameters

live_stream_idstring required

Unique identifier of the live stream.

Query parameters

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

Request body

command'add' required
type'song' | 'video' | 'podcast_episode' | 'broadcast' | 'live_stream' | 'democratic'
clear0 | 1

Response

Localplay response

Changes

    • breaking

      removed the enum value channel from the query request parameter type

    • breaking

      removed the enum value channel of the request property (media type: application/json)

    • breaking

      removed the enum value channel of the request property (media type: application/x-www-form-urlencoded)

    • info

      api operation id localplayLiveStreams was added

    • info

      added optional request body

    • info

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