ActivityPub-federated video streaming platform using P2P directly in your web browser
fix video channel parameters limit in openapi spec
Rigel Kent4302058c4d45
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 84e42a9f59..344ee033e4 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -1824,10 +1824,10 @@ paths:reason:description: Reason why the user reports this videotype: string- minLength: 4+ minLength: 2+ maxLength: 3000predefinedReasons:$ref: '#/components/schemas/PredefinedAbuseReasons'-video:type: objectproperties:@@ -1883,6 +1883,8 @@ paths:moderationComment:type: stringdescription: Update the report comment visible only to the moderation team+ minLength: 2+ maxLength: 3000responses:'204':description: successful operation@@ -1940,6 +1942,8 @@ paths:message:description: Message to sendtype: string+ minLength: 2+ maxLength: 3000required:- messageresponses:@@ -4448,6 +4452,8 @@ components:reason:type: stringexample: The video is a spam+ minLength: 2+ maxLength: 3000predefinedReasons:$ref: '#/components/schemas/AbusePredefinedReasons'reporterAccount:@@ -4457,6 +4463,8 @@ components:moderationComment:type: stringexample: Decided to ban the server since it spams us regularly+ minLength: 2+ maxLength: 3000video:$ref: '#/components/schemas/VideoInfo'createdAt:@@ -4468,6 +4476,8 @@ components:type: integermessage:type: string+ minLength: 2+ maxLength: 3000byModerator:type: booleancreatedAt:@@ -4489,12 +4499,16 @@ components:format: date-timename:type: string+ minLength: 3+ maxLength: 120uuid:type: stringformat: uuidexample: 9c9de5e8-0a1e-484a-b099-e80766180a6ddescription:type: string+ minLength: 3+ maxLength: 10000duration:type: integerviews:@@ -4509,8 +4523,12 @@ components:properties:displayName:type: string+ minLength: 1+ maxLength: 120description:type: string+ minLength: 3+ maxLength: 1000isLocal:type: booleanownerAccount:@@ -4534,12 +4552,16 @@ components:format: date-timedescription:type: string+ minLength: 3+ maxLength: 1000uuid:type: stringformat: uuidexample: 9c9de5e8-0a1e-484a-b099-e80766180a6ddisplayName:type: string+ minLength: 1+ maxLength: 120isLocal:type: booleanvideoLength:@@ -4563,6 +4585,8 @@ components:format: urltext:type: string+ minLength: 1+ maxLength: 10000threadId:type: integerinReplyToCommentId:@@ -5381,34 +5405,41 @@ components:- username- password- VideoChannelCreate:++ VideoChannelCommon:properties:- name:- type: stringdisplayName:type: string+ minLength: 1+ maxLength: 120description:type: string+ minLength: 3+ maxLength: 1000support:type: stringdescription: 'A text shown by default on all videos of this channel, to tell the audience how to support it'example: Please support my work on <insert crowdfunding plateform>! <3+ minLength: 3+ maxLength: 1000+ VideoChannelCreate:+ allOf:+ - $ref: '#/components/schemas/VideoChannelCommon'+ - properties:+ name:+ type: string+ minLength: 1+ maxLength: 120required:- name- displayNameVideoChannelUpdate:- properties:- displayName:- type: string- description:- type: string- support:- type: string- description: 'A text shown by default on all videos of this channel, to tell the audience how to support it'- example: Please support my work on <insert crowdfunding plateform>! <3- bulkVideosSupportUpdate:- type: boolean- description: 'Update the support field for all videos of this channel'+ allOf:+ - $ref: '#/components/schemas/VideoChannelCommon'+ - properties:+ bulkVideosSupportUpdate:+ type: boolean+ description: 'Update the support field for all videos of this channel'MRSSPeerLink:type: object