Skip to main content
POST
Reorder Release Tracks
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

This endpoint allows reordering tracks within a release by providing an array of track IDs in the desired order. Only releases in ‘draft’ or ‘rejected’ status can have tracks reordered. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Release ID

Body

application/json
trackOrder
string<uuid>[]
required

Array of track IDs in desired order

Example:

Response

Success

success
boolean
Example:

true

message
string
Example:

"Tracks reordered successfully"

data
object[]