Adds a new track to the specified release. Only allowed for releases in ādraftā or ārejectedā status.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/tracks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Hit Single",
"version": "Radio Edit",
"isrc": "USABC1234567",
"iswc": "T-123456789-0",
"duration": 213,
"lyrics": "<string>",
"language": "en",
"displayArtist": "Artist Name",
"artists": {}
}'
{
"success": true,
"data": {
"title": "Hit Single",
"version": "Radio Edit",
"isrc": "USABC1234567",
"iswc": "T-123456789-0",
"duration": 213,
"lyrics": "<string>",
"language": "en",
"displayArtist": "Artist Name",
"artists": {}
},
"message": "Track created successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Release ID
Track created successfully
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/tracks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Hit Single",
"version": "Radio Edit",
"isrc": "USABC1234567",
"iswc": "T-123456789-0",
"duration": 213,
"lyrics": "<string>",
"language": "en",
"displayArtist": "Artist Name",
"artists": {}
}'
{
"success": true,
"data": {
"title": "Hit Single",
"version": "Radio Edit",
"isrc": "USABC1234567",
"iswc": "T-123456789-0",
"duration": 213,
"lyrics": "<string>",
"language": "en",
"displayArtist": "Artist Name",
"artists": {}
},
"message": "Track created successfully"
}