Complete a video upload
POST/api/video/:id/complete-upload
Call after the presigned PUT succeeds. The server checks the object exists in storage, enforces size limits, reads the beginning of the file to confirm it looks like a video, then sets status to processing and queues transcoding. On verification failure the upload may be removed and the video marked failed.
Request
Path Parameters
The video ID returned from POST /api/video
Header Parameters
Hyperserve api key
- application/json
Body
Optional. Send {} or omit when unused. checksum is reserved for future client-side verification.
Reserved for future client-side integrity verification; omit unless documented otherwise
Responses
- 201
Upload verified; video is processing
- application/json
- Schema
- Example (from schema)
Schema
Video id
resolutions
object
required
Per-resolution status; all start as processing immediately after complete-upload
property name*
object
Possible values: [pending_upload, processing, ready, fail]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"isPublic": true,
"resolutions": {}
}