Skip to main content
POST
Upload Media File to Track
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

This endpoint allows uploading a single media file to a specific track. Only audio and video files are allowed for tracks. Each track can have only one audio or video file. The file is stored temporarily and transferred to permanent storage upon approval. 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

trackId
string<uuid>
required

Track ID

Body

multipart/form-data
file
file
required

Single audio or video file

Response

Success

success
boolean
Example:

true

data
object
message
string
Example:

"Media uploaded successfully"