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"
}'