patch https://api.topazlabs.com/video//accept
Calling this endpoint reserves the estimated credits and returns signed URL(s) for multi-part upload.
For each URL, the source video should be split into byte ranges and uploaded to the corresponding URL. If 2 URLs are returned for a 100 MB file, for example, upload bytes 0-49 to urls[0]
and bytes 50-100 to urls[1]
.
If one of the uploads fail, you may reuse the same URL - the action overwrites any partially uploaded data.
A successful response from the PUT request returns an ETag
value in the header. Retain the part number - ETag pair for the next step.
Response body
Property | Type | Description |
---|---|---|
uploadId | String | Upload ID for multi-part upload |
urls | Array | URLs for multi-part uploads |
message | String | Response message |