Playlists

Create a new playlist

Changed on

This create a new playlist and return it

put/playlists

Request

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

Query parameters

namestring
type'public' | 'private'

Request body

namestring required
type'public' | 'private'

Response

Playlist created

idstring required
namestring nullable required
ownerstring nullable required
typestring nullable required
artstring nullable required
has_accessboolean required
has_collaborateboolean required
has_artboolean required
flagboolean required
ratinginteger nullable required
averageratingnumber nullable required
md5string nullable required
last_updateinteger nullable required
timeinteger required
playlist_folder_idstring
playlist_folder_sort_orderinteger

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      api operation id playlistCreate was added

    • info

      added optional request body

    • info

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