Fix boolean types, add missing downloadEnabled

pull/3179/head
Arman 2020-09-22 03:32:40 +03:30 committed by Chocobozzz
parent 4d582cec7f
commit cd372e840b
1 changed files with 10 additions and 4 deletions

View File

@ -1307,7 +1307,7 @@ paths:
type: string type: string
waitTranscoding: waitTranscoding:
description: Whether or not we wait transcoding before publish the video description: Whether or not we wait transcoding before publish the video
type: string type: boolean
support: support:
description: A text tell the audience how to support the video creator description: A text tell the audience how to support the video creator
example: Please support my work on <insert crowdfunding plateform>! <3 example: Please support my work on <insert crowdfunding plateform>! <3
@ -1331,6 +1331,9 @@ paths:
commentsEnabled: commentsEnabled:
description: Enable or disable comments for this video description: Enable or disable comments for this video
type: boolean type: boolean
downloadEnabled:
description: Enable or disable downloading for this video
type: boolean
originallyPublishedAt: originallyPublishedAt:
description: Date when the content was originally published description: Date when the content was originally published
type: string type: string
@ -1428,14 +1431,14 @@ paths:
type: string type: string
waitTranscoding: waitTranscoding:
description: Whether or not we wait transcoding before publish the video description: Whether or not we wait transcoding before publish the video
type: string type: boolean
support: support:
description: A text tell the audience how to support the video creator description: A text tell the audience how to support the video creator
example: Please support my work on <insert crowdfunding plateform>! <3 example: Please support my work on <insert crowdfunding plateform>! <3
type: string type: string
nsfw: nsfw:
description: Whether or not this video contains sensitive content description: Whether or not this video contains sensitive content
type: string type: boolean
name: name:
description: Video name description: Video name
type: string type: string
@ -1450,7 +1453,10 @@ paths:
maxLength: 30 maxLength: 30
commentsEnabled: commentsEnabled:
description: Enable or disable comments for this video description: Enable or disable comments for this video
type: string type: boolean
downloadEnabled:
description: Enable or disable downloading for this video
type: boolean
scheduleUpdate: scheduleUpdate:
$ref: '#/components/schemas/VideoScheduledUpdate' $ref: '#/components/schemas/VideoScheduledUpdate'
required: required: