From: Arman Date: Tue, 22 Sep 2020 00:02:40 +0000 (+0330) Subject: Fix boolean types, add missing downloadEnabled X-Git-Tag: v3.0.0-rc.1~581 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cd372e840b6a291a56e0d5135548d05a98415155;p=github%2FChocobozzz%2FPeerTube.git Fix boolean types, add missing downloadEnabled --- diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index cf151a3d7..4c6e0d12c 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -1307,7 +1307,7 @@ paths: type: string waitTranscoding: description: Whether or not we wait transcoding before publish the video - type: string + type: boolean support: description: A text tell the audience how to support the video creator example: Please support my work on ! <3 @@ -1331,6 +1331,9 @@ paths: commentsEnabled: description: Enable or disable comments for this video type: boolean + downloadEnabled: + description: Enable or disable downloading for this video + type: boolean originallyPublishedAt: description: Date when the content was originally published type: string @@ -1428,14 +1431,14 @@ paths: type: string waitTranscoding: description: Whether or not we wait transcoding before publish the video - type: string + type: boolean support: description: A text tell the audience how to support the video creator example: Please support my work on ! <3 type: string nsfw: description: Whether or not this video contains sensitive content - type: string + type: boolean name: description: Video name type: string @@ -1450,7 +1453,10 @@ paths: maxLength: 30 commentsEnabled: description: Enable or disable comments for this video - type: string + type: boolean + downloadEnabled: + description: Enable or disable downloading for this video + type: boolean scheduleUpdate: $ref: '#/components/schemas/VideoScheduledUpdate' required: