ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix openapi schema
Chocobozzzcb9d028a6ba2
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 0dc50e4030..7bcad1692b 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -638,7 +638,7 @@ paths:application/json:schema:$ref: '#/components/schemas/VideoListResponse'- '/users/me/subscriptions/{uri}':+ '/users/me/subscriptions/{subscriptionHandle}':get:summary: Get subscription of the current user for a given urisecurity:@@ -646,6 +646,8 @@ paths:- usertags:- User+ parameters:+ - $ref: '#/components/parameters/subscriptionHandle'responses:'200':description: successful operation@@ -660,6 +662,8 @@ paths:- usertags:- User+ parameters:+ - $ref: '#/components/parameters/subscriptionHandle'responses:'200':description: successful operation@@ -792,7 +796,7 @@ paths:tags:- Videoparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'200':description: successful operation@@ -851,7 +855,7 @@ paths:tags:- Videoparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'200':description: successful operation@@ -866,7 +870,7 @@ paths:tags:- Videoparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -876,7 +880,7 @@ paths:tags:- Videoparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'200':description: successful operation@@ -890,7 +894,7 @@ paths:tags:- Videoparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -902,7 +906,7 @@ paths:security:- OAuth2: []parameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'requestBody:content:application/json:@@ -919,8 +923,6 @@ paths:- Videosecurity:- OAuth2: []- parameters:- - $ref: '#/components/parameters/id2'responses:'200':description: successful operation@@ -932,7 +934,7 @@ paths:security:- OAuth2: []parameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -944,7 +946,7 @@ paths:security:- OAuth2: []parameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -956,7 +958,7 @@ paths:security:- OAuth2: []parameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'requestBody:required: truecontent:@@ -1178,7 +1180,7 @@ paths:tags:- Video Abuseparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -1192,7 +1194,7 @@ paths:tags:- Video Blacklistparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -1205,7 +1207,7 @@ paths:tags:- Video Blacklistparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -1237,7 +1239,7 @@ paths:tags:- Video Captionparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'200':description: successful operation@@ -1258,7 +1260,7 @@ paths:tags:- Video Captionparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'- $ref: '#/components/parameters/captionLanguage'requestBody:content:@@ -1278,7 +1280,7 @@ paths:tags:- Video Captionparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'- $ref: '#/components/parameters/captionLanguage'responses:'204':@@ -1395,6 +1397,7 @@ paths:tags:- Userparameters:+ - $ref: '#/components/parameters/name'- $ref: '#/components/parameters/start'- $ref: '#/components/parameters/count'- $ref: '#/components/parameters/sort'@@ -1422,7 +1425,7 @@ paths:tags:- Video Commentparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'- $ref: '#/components/parameters/start'- $ref: '#/components/parameters/count'- $ref: '#/components/parameters/sort'@@ -1440,7 +1443,7 @@ paths:tags:- Video Commentparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'200':description: successful operation@@ -1454,13 +1457,8 @@ paths:tags:- Video Commentparameters:- - $ref: '#/components/parameters/id2'- - name: threadId- in: path- required: true- description: The thread id (root comment id)- schema:- type: number+ - $ref: '#/components/parameters/idOrUUID'+ - $ref: '#/components/parameters/threadId'responses:'200':description: successful operation@@ -1476,7 +1474,7 @@ paths:tags:- Video Commentparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'- $ref: '#/components/parameters/commentId'responses:'200':@@ -1492,7 +1490,7 @@ paths:tags:- Video Commentparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'- $ref: '#/components/parameters/commentId'responses:'204':@@ -1505,7 +1503,7 @@ paths:tags:- Video Rateparameters:- - $ref: '#/components/parameters/id2'+ - $ref: '#/components/parameters/idOrUUID'responses:'204':$ref: '#/paths/~1users~1me/put/responses/204'@@ -1645,7 +1643,7 @@ components:description: The user idschema:type: number- id2:+ idOrUUID:name: idin: pathrequired: true@@ -1666,10 +1664,24 @@ components:description: "The video channel handle (example: '[email protected]' or 'my_username')"schema:type: string- commentId:+ subscriptionHandle:+ name: subscriptionHandle+ in: path+ required: true+ description: "The subscription handle (example: '[email protected]' or 'my_username')"+ schema:+ type: string+ threadId:name: threadIdin: pathrequired: true+ description: The thread id (root comment id)+ schema:+ type: number+ commentId:+ name: commentId+ in: path+ required: truedescription: The comment idschema:type: number