]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add originallyPublishedAt in /videos/upload to the OpenAPI document
authorFrank Sträter <fstrater@beeldengeluid.nl>
Mon, 5 Aug 2019 12:08:27 +0000 (14:08 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 5 Aug 2019 12:18:03 +0000 (14:18 +0200)
support/doc/api/openapi.yaml

index 39fa3cef51fa20af5044696aeb61ac7f0aa094c1..bd07fbc51fbc95998267f1cf9fa6e0d7fa28199c 100644 (file)
@@ -1062,6 +1062,10 @@ paths:
                 commentsEnabled:
                   description: Enable or disable comments for this video
                   type: string
+                originallyPublishedAt:
+                  description: Date when the content was originally published
+                  type: string
+                  format: date-time
                 scheduleUpdate:
                   $ref: '#/components/schemas/VideoScheduledUpdate'
               required: