Update Track
PUT/tracks/:track_id
Updates an existing track
Request
Path Parameters
A Track ID
Query Parameters
The user ID of the user making the request
- application/json
Body
required
- tip_gate
- follow_gate
- purchase_gate
- token_gate
Array [
]
- tip_gate
- follow_gate
- purchase_gate
- token_gate
Array [
]
Array [
]
Track title
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: <= 1000 characters
Track description
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
Beats per minute (tempo)
Musical key of the track
Comma-separated tags
License type
International Standard Recording Code
International Standard Musical Work Code
Release date
IPFS CID for the track audio file
IPFS CID for the original track file
Original filename of the track
IPFS CID for cover art
Cover art sizes metadata
IPFS CID for the track preview
Preview start time in seconds
Track duration in seconds
Whether the track is downloadable
Whether the track is unlisted
Whether streaming is restricted behind an access gate
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
download_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
field_visibility
object
Placement hosts for the track
stem_of
object
remix_of
object
tracks
object[]
required
DDEX application identifier
Parental warning type
Responses
- 200
- 400
- 401
- 404
- 500
Track 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
Track not found
Server error