Initialize 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
POST
/videos/upload-resumable
VideoVideo Upload
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://peertube2.cpy.re/api/v1/videos/upload-resumable' \
--header 'X-Upload-Content-Length;' \
--header 'X-Upload-Content-Type;' \
--header 'Content-Type: application/json' \
--data-raw '{
"category": 15,
"channelId": 3,
"commentsEnabled": true,
"description": "**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\\r\\n\\r\\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\n",
"downloadEnabled": true,
"language": "en",
"licence": 2,
"name": "What is PeerTube?",
"nsfw": true,
"originallyPublishedAt": "2019-08-24T14:15:22Z",
"previewfile": "string",
"privacy": 1,
"scheduleUpdate": {
"privacy": 1,
"updateAt": "2019-08-24"
},
"support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
"tags": [
"framasoft",
"peertube"
],
"thumbnailfile": "string",
"waitTranscoding": true,
"filename": "what_is_peertube.mp4"
}'
Response Response Example
200 - Example 1
{}
Request
Header Params
X-Upload-Content-Length
numberÂ
required
X-Upload-Content-Type
stringÂ
required
Body Params application/json
Responses
Modified at 2022-09-10 22:29:50