ActivityPub-federated video streaming platform using P2P directly in your web browser
Improved description of all file uploads (#2053)
Frank Sträter0ad45af705cb
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 78159f89c4..89d4407482 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -726,8 +726,7 @@ paths:type: stringformat: binaryencoding:- profileImage:- # only accept png/jpeg+ avatarfile:contentType: image/png, image/jpeg/videos:get:@@ -829,9 +828,11 @@ paths:thumbnailfile:description: Video thumbnail filetype: string+ format: binarypreviewfile:description: Video preview filetype: string+ format: binarycategory:description: Video categorytype: string@@ -874,6 +875,11 @@ paths:format: date-timescheduleUpdate:$ref: '#/components/schemas/VideoScheduledUpdate'+ encoding:+ thumbnailfile:+ contentType: image/jpeg+ previewfile:+ contentType: image/jpegget:summary: Get a video by its idtags:@@ -1029,9 +1035,11 @@ paths:thumbnailfile:description: Video thumbnail filetype: string+ format: binarypreviewfile:description: Video preview filetype: string+ format: binaryprivacy:$ref: '#/components/schemas/VideoPrivacySet'category:@@ -1080,6 +1088,13 @@ paths:- videofile- channelId- name+ encoding:+ videofile:+ contentType: video/mp4, video/webm, video/ogg, video/avi, video/quicktime, video/x-msvideo, video/x-flv, video/x-matroska, application/octet-stream+ thumbnailfile:+ contentType: image/jpeg+ previewfile:+ contentType: image/jpegx-code-samples:- lang: Shellsource: |@@ -1142,9 +1157,11 @@ paths:thumbnailfile:description: Video thumbnail filetype: string+ format: binarypreviewfile:description: Video preview filetype: string+ format: binaryprivacy:$ref: '#/components/schemas/VideoPrivacySet'category:@@ -1188,6 +1205,13 @@ paths:required:- channelId- name+ encoding:+ torrentfile:+ contentType: application/x-bittorrent+ thumbnailfile:+ contentType: image/jpeg+ previewfile:+ contentType: image/jpeg/videos/abuse:get:summary: Get list of reported video abuses@@ -1308,6 +1332,9 @@ paths:description: The file to upload.type: stringformat: binary+ encoding:+ captionfile:+ contentType: text/vtt, application/x-subripresponses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -1952,7 +1979,7 @@ components:description: 'Video file size in bytes'torrentUrl:type: string- torrentDownaloadUrl:+ torrentDownloadUrl:type: stringfileUrl:type: string