aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorArman <Arman1371@gmail.com>2020-09-22 03:32:40 +0330
committerChocobozzz <chocobozzz@cpy.re>2020-09-22 08:19:37 +0200
commitcd372e840b6a291a56e0d5135548d05a98415155 (patch)
tree51ea5bb225613a53f231680a5cb105aaef51a733 /support
parent4d582cec7f962ce5785ccfd7edebe6b41a58b0f8 (diff)
downloadPeerTube-cd372e840b6a291a56e0d5135548d05a98415155.tar.gz
PeerTube-cd372e840b6a291a56e0d5135548d05a98415155.tar.zst
PeerTube-cd372e840b6a291a56e0d5135548d05a98415155.zip
Fix boolean types, add missing downloadEnabled
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml14
1 files changed, 10 insertions, 4 deletions
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:
1307 type: string 1307 type: string
1308 waitTranscoding: 1308 waitTranscoding:
1309 description: Whether or not we wait transcoding before publish the video 1309 description: Whether or not we wait transcoding before publish the video
1310 type: string 1310 type: boolean
1311 support: 1311 support:
1312 description: A text tell the audience how to support the video creator 1312 description: A text tell the audience how to support the video creator
1313 example: Please support my work on <insert crowdfunding plateform>! <3 1313 example: Please support my work on <insert crowdfunding plateform>! <3
@@ -1331,6 +1331,9 @@ paths:
1331 commentsEnabled: 1331 commentsEnabled:
1332 description: Enable or disable comments for this video 1332 description: Enable or disable comments for this video
1333 type: boolean 1333 type: boolean
1334 downloadEnabled:
1335 description: Enable or disable downloading for this video
1336 type: boolean
1334 originallyPublishedAt: 1337 originallyPublishedAt:
1335 description: Date when the content was originally published 1338 description: Date when the content was originally published
1336 type: string 1339 type: string
@@ -1428,14 +1431,14 @@ paths:
1428 type: string 1431 type: string
1429 waitTranscoding: 1432 waitTranscoding:
1430 description: Whether or not we wait transcoding before publish the video 1433 description: Whether or not we wait transcoding before publish the video
1431 type: string 1434 type: boolean
1432 support: 1435 support:
1433 description: A text tell the audience how to support the video creator 1436 description: A text tell the audience how to support the video creator
1434 example: Please support my work on <insert crowdfunding plateform>! <3 1437 example: Please support my work on <insert crowdfunding plateform>! <3
1435 type: string 1438 type: string
1436 nsfw: 1439 nsfw:
1437 description: Whether or not this video contains sensitive content 1440 description: Whether or not this video contains sensitive content
1438 type: string 1441 type: boolean
1439 name: 1442 name:
1440 description: Video name 1443 description: Video name
1441 type: string 1444 type: string
@@ -1450,7 +1453,10 @@ paths:
1450 maxLength: 30 1453 maxLength: 30
1451 commentsEnabled: 1454 commentsEnabled:
1452 description: Enable or disable comments for this video 1455 description: Enable or disable comments for this video
1453 type: string 1456 type: boolean
1457 downloadEnabled:
1458 description: Enable or disable downloading for this video
1459 type: boolean
1454 scheduleUpdate: 1460 scheduleUpdate:
1455 $ref: '#/components/schemas/VideoScheduledUpdate' 1461 $ref: '#/components/schemas/VideoScheduledUpdate'
1456 required: 1462 required: