Get a presigned URL for direct file upload to cloud storage
POST/v2/:media_type/upload-url
Returns a signed URL that allows the client to upload a file directly to Google Cloud Storage via HTTP PUT. This avoids sending the file through the backend, eliminating upload timeouts for large files.
Flow:
- Call this endpoint to get a signed upload URL
- PUT the file directly to the signed URL with the required headers
- Call the regular POST /v2/videos or /v2/audios endpoint with the returned public_url
Request
Responses
- 200
- 422
Successful Response
Validation Error