Streaming and Downloads

Stream a media file (binary)

Changed on

Streams a given media file. Takes the file id in parameter with optional max bit rate, file format, time offset, size and estimate content length option.

get/playlists/{playlist_id}/stream

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/playlists/{playlist_id}/stream
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Path parameters

playlist_idstring required

Unique identifier of the playlist.

Query parameters

bitrateinteger

Max bitrate for transcoding in bits per second (e.g 192000 = 192Kb)

formatstring
offsetinteger

Return results starting from this index position

length0 | 1
stats0 | 1

Changes

    • info

      api operation id streamPlaylists was added

    • 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

      removed the success response with the status

    • info

      added the non-success response with the status