mirror of https://github.com/Chocobozzz/PeerTube
add description with operation link to category/licence/language constants
parent
4302058c4d
commit
dfcb6f50a6
|
@ -3971,16 +3971,25 @@ components:
|
||||||
moderator: Moderator scope
|
moderator: Moderator scope
|
||||||
user: User scope
|
user: User scope
|
||||||
schemas:
|
schemas:
|
||||||
VideoConstantNumber:
|
VideoConstantNumber-Category:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
|
description: category id of the video (see [/videos/categories](#tag/Video/paths/~1videos~1categories/get))
|
||||||
label:
|
label:
|
||||||
type: string
|
type: string
|
||||||
VideoConstantString:
|
VideoConstantNumber-Licence:
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
description: licence id of the video (see [/videos/licences](#tag/Video/paths/~1videos~1licences/get))
|
||||||
|
label:
|
||||||
|
type: string
|
||||||
|
VideoConstantString-Language:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
description: language id of the video (see [/videos/languages](#tag/Video/paths/~1videos~1languages/get))
|
||||||
label:
|
label:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
@ -4250,11 +4259,11 @@ components:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
category:
|
category:
|
||||||
$ref: '#/components/schemas/VideoConstantNumber'
|
$ref: '#/components/schemas/VideoConstantNumber-Category'
|
||||||
licence:
|
licence:
|
||||||
$ref: '#/components/schemas/VideoConstantNumber'
|
$ref: '#/components/schemas/VideoConstantNumber-Licence'
|
||||||
language:
|
language:
|
||||||
$ref: '#/components/schemas/VideoConstantString'
|
$ref: '#/components/schemas/VideoConstantString-Language'
|
||||||
privacy:
|
privacy:
|
||||||
$ref: '#/components/schemas/VideoPrivacyConstant'
|
$ref: '#/components/schemas/VideoPrivacyConstant'
|
||||||
description:
|
description:
|
||||||
|
@ -4616,7 +4625,7 @@ components:
|
||||||
VideoCaption:
|
VideoCaption:
|
||||||
properties:
|
properties:
|
||||||
language:
|
language:
|
||||||
$ref: '#/components/schemas/VideoConstantString'
|
$ref: '#/components/schemas/VideoConstantString-Language'
|
||||||
captionPath:
|
captionPath:
|
||||||
type: string
|
type: string
|
||||||
ActorImage:
|
ActorImage:
|
||||||
|
|
Loading…
Reference in New Issue