Start a direct video upload
Uploads a video of any size your storage allows: the file goes straight to storage in parts, never through this API. Send the size first; if it does not fit in your space (the file plus room for its 1080p editing copy, estimated at a third of the file) you get 402 storage_limit_exceeded before anything is sent. Then PUT each part (in order of n, any concurrency) to its URL, keep each response's ETag header, and call /v1/videos/uploads/complete. Need more part URLs (files above ~3 GB): /v1/videos/uploads/parts. Unfinished uploads are discarded after 7 days and never counted.
Request
- Base URL: https://nanostudiopro.com/api
- URL: https://nanostudiopro.com/api/v1/videos/uploads
- Auth: HTTP bearer
Request body
Example request
{
"filename": "shoot-take-3.mp4",
"content_type": "video/mp4"
}Response
upload_token, part_size, part_count, parts: [{ n, url }], expires_at. Or, when sha256 matches a clip already in the project: that clip (id, permanent_url, metadata, …) with duplicate: true and no upload_token.
Changes
No recorded changes to this operation across all 3 revisions of this API.