Update Playlist
PUT/playlists/:playlist_id
Updates an existing playlist or album
Request
Path Parameters
A Playlist ID
Query Parameters
The user ID of the user making the request
- application/json
Body
required
Array [
]
- tip_gate
- follow_gate
- purchase_gate
- token_gate
Array [
]
Array [
]
Possible values: non-empty
Playlist or album name
Possible values: <= 1000 characters
Playlist description
Whether the playlist is private
Whether this is an album
Possible values: [Electronic, Rock, Metal, Alternative, Hip-Hop/Rap, Experimental, Punk, Folk, Pop, Ambient, Soundtrack, World, Jazz, Acoustic, Funk, R&B/Soul, Devotional, Classical, Reggae, Podcasts, Country, Spoken Word, Comedy, Blues, Kids, Audiobooks, Latin, Lo-Fi, Hyperpop, Dancehall, Techno, Trap, House, Tech House, Deep House, Disco, Electro, Jungle, Progressive House, Hardstyle, Glitch Hop, Trance, Future Bass, Future House, Tropical House, Downtempo, Drum & Bass, Dubstep, Jersey Club, Vaporwave, Moombahton]
Music genre
Possible values: [Peaceful, Romantic, Sentimental, Tender, Easygoing, Yearning, Sophisticated, Sensual, Cool, Gritty, Melancholy, Serious, Brooding, Fiery, Defiant, Aggressive, Rowdy, Excited, Energizing, Empowering, Stirring, Upbeat, Other]
Music mood
Comma-separated tags
License type
Universal Product Code (for albums)
Release date
IPFS CID for cover art
playlist_contents
object[]
Array of track IDs to include in the playlist
Optional. Metadata timestamp for when the track was added to the playlist.
Whether streaming is restricted behind an access gate
Whether the playlist/album is a scheduled release
stream_conditions
object
nullable
oneOf
Must tip the given user ID to unlock
Must follow the given user ID to unlock
usdc_purchase
object
required
Must pay the total price and split to the given addresses to unlock
The price in USDC needed to unlock
splits
object[]
required
token_gate
object
required
Must hold an NFT of the given collection to unlock
The mint of the token needed to unlock
The amount of the token needed to unlock
DDEX application identifier
ddex_release_ids
object
nullable
DDEX release identifiers
artists
object[]
nullable
DDEX resource contributors / artists
Possible values: non-empty
Contributor name
Possible values: >= 1
Contributor roles
Sequence number for ordering
copyright_line
object
nullable
Possible values: >= 4 characters and <= 4 characters
Copyright year (4 characters)
Possible values: non-empty
Copyright text
producer_copyright_line
object
nullable
Possible values: >= 4 characters and <= 4 characters
Copyright year (4 characters)
Possible values: non-empty
Copyright text
Parental warning type
Whether the image is autogenerated
Responses
- 200
- 400
- 401
- 404
- 500
Playlist updated successfully
- application/json
- Schema
- Example (from schema)
Schema
Whether the operation was successful
The blockchain transaction hash
{
"success": true,
"transaction_hash": "string"
}
Bad request
Unauthorized
Playlist not found
Server error