Send chunk for the resumable upload of a video
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
PUT
/videos/upload-resumable
VideoVideo Upload
Request Request Example
Shell
JavaScript
Java
Swift
Response Response Example
200 - Example 1
{
"video": {
"id": {},
"shortUUID": {},
"uuid": {}
}
}
Request
Query Params
upload_id
stringÂ
required
not valid anymore and you need to initialize a new upload.
Header Params
Content-Range
stringÂ
required
bytes 0-262143/1000000
shows that the request is sending the first262144 bytes (256 x 1024) in a 2,469,036 byte file.
Content-Length
numberÂ
required
doesn't mandate for chunks to have the same size throughout the upload sequence.
1048576 bytes (~1MB) and increases or reduces size depending on connection health.
Body Params application/octet-stream
Not configured
Responses
Modified at 2022-09-10 22:29:50