Confirm an uploaded asset
POST/api/v1/musiccompanion/assets/:id/confirm
Verify that the file reached the signed upload target and change the asset from UPLOADING to ONLINE. Call this only after the raw-file PUT succeeds. If the audio asset is already attached to an entity, confirmation queues any automatic analyses enabled on its entity type.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
The asset, now online.
Invalid request.
Missing or invalid bearer token.
The token lacks the required permission.
No asset with that id.
The file has not reached the signed upload target yet (asset_not_uploaded).
A subtitle file exceeds 10 MiB once uploaded (subtitle_too_large).
Rate limit exceeded. Retry after the period in the Retry-After header.
Unexpected server error.