Skip to content

Confirm an uploaded track and create its row

POST
/api/song-audio/{id}/tracks/confirm
id
required
string format: uuid
object
trackId
required
string format: uuid
filePath
required
string
>= 1 characters
fileName
required
string
>= 1 characters
fileSize
integer
format
required
string
Allowed values: mp3 wav m4a
groupName
string
nullable <= 100 characters
color
string
/^#[0-9A-Fa-f]{6}$/

Success

object
ok
required
boolean
data
nullable

Bad request / invalid input

object
ok
required
boolean
error
required
string
code
string

Unauthenticated

object
ok
required
boolean
error
required
string
code
string

Forbidden / not in band

object
ok
required
boolean
error
required
string
code
string

Not found

object
ok
required
boolean
error
required
string
code
string

Band storage quota exceeded (STORAGE_QUOTA_EXCEEDED)

object
ok
required
boolean
error
required
string
code
string

Server error

object
ok
required
boolean
error
required
string
code
string