Upload an audio file (returns a signed upload URL)
POST/api/v1/musiccompanion/assets
Creates an UPLOADING asset and a signed upload target. PUT the raw file bytes, not multipart form data, to upload.url with every returned upload.headers entry before upload.expiresOn. After the PUT succeeds, call POST /api/v1/musiccompanion/assets/{id}/confirm with the returned assetId to move the asset to ONLINE.
Request
Responses
- 201
- 400
- 401
- 403
- 429
- 500
An asset id and a signed URL to PUT the file to.
Invalid request.
Missing or invalid bearer token.
The token lacks the required permission.
Rate limit exceeded. Retry after the period in the Retry-After header.
Unexpected server error.