Playlists

Edit playlist metadata and items

Changed on

This modifies name and type of a playlist Previously name and type were mandatory while filter wasn't. this has been reversed.

patch/playlists/{playlist_id}

Request

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

namestring
type'public' | 'private'
ownerstring

User id (-1 = System playlist)

itemsstring

Comma-separated song_id list

tracksstring

Comma-separated playlist track numbers matched to items

Request body

namestring
type'public' | 'private'
ownerstring

User id (-1 = System playlist)

itemsstring

Comma-separated song_id list

tracksstring

Comma-separated playlist track numbers matched to items

Response

Success

successstring

Changes

    • info

      api operation id playlistEdit was 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

      added the non-success response with the status