aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-05-03 14:34:46 +0200
committerRigel Kent <sendmemail@rigelk.eu>2021-05-03 14:34:46 +0200
commitdfcb6f50a607b6b402b4f8fa3d43792d61c912a5 (patch)
tree2ebcc5acb101a3adc4559dd2ef767b1372803b82 /support
parent4302058c4d45038bd9a489044c3843de9da543a7 (diff)
downloadPeerTube-dfcb6f50a607b6b402b4f8fa3d43792d61c912a5.tar.gz
PeerTube-dfcb6f50a607b6b402b4f8fa3d43792d61c912a5.tar.zst
PeerTube-dfcb6f50a607b6b402b4f8fa3d43792d61c912a5.zip
add description with operation link to category/licence/language constants
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml21
1 files changed, 15 insertions, 6 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 344ee033e..1fffe7ddf 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -3971,16 +3971,25 @@ components:
3971 moderator: Moderator scope 3971 moderator: Moderator scope
3972 user: User scope 3972 user: User scope
3973 schemas: 3973 schemas:
3974 VideoConstantNumber: 3974 VideoConstantNumber-Category:
3975 properties: 3975 properties:
3976 id: 3976 id:
3977 type: integer 3977 type: integer
3978 description: category id of the video (see [/videos/categories](#tag/Video/paths/~1videos~1categories/get))
3978 label: 3979 label:
3979 type: string 3980 type: string
3980 VideoConstantString: 3981 VideoConstantNumber-Licence:
3982 properties:
3983 id:
3984 type: integer
3985 description: licence id of the video (see [/videos/licences](#tag/Video/paths/~1videos~1licences/get))
3986 label:
3987 type: string
3988 VideoConstantString-Language:
3981 properties: 3989 properties:
3982 id: 3990 id:
3983 type: string 3991 type: string
3992 description: language id of the video (see [/videos/languages](#tag/Video/paths/~1videos~1languages/get))
3984 label: 3993 label:
3985 type: string 3994 type: string
3986 3995
@@ -4250,11 +4259,11 @@ components:
4250 type: string 4259 type: string
4251 format: date-time 4260 format: date-time
4252 category: 4261 category:
4253 $ref: '#/components/schemas/VideoConstantNumber' 4262 $ref: '#/components/schemas/VideoConstantNumber-Category'
4254 licence: 4263 licence:
4255 $ref: '#/components/schemas/VideoConstantNumber' 4264 $ref: '#/components/schemas/VideoConstantNumber-Licence'
4256 language: 4265 language:
4257 $ref: '#/components/schemas/VideoConstantString' 4266 $ref: '#/components/schemas/VideoConstantString-Language'
4258 privacy: 4267 privacy:
4259 $ref: '#/components/schemas/VideoPrivacyConstant' 4268 $ref: '#/components/schemas/VideoPrivacyConstant'
4260 description: 4269 description:
@@ -4616,7 +4625,7 @@ components:
4616 VideoCaption: 4625 VideoCaption:
4617 properties: 4626 properties:
4618 language: 4627 language:
4619 $ref: '#/components/schemas/VideoConstantString' 4628 $ref: '#/components/schemas/VideoConstantString-Language'
4620 captionPath: 4629 captionPath:
4621 type: string 4630 type: string
4622 ActorImage: 4631 ActorImage: