]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/api/openapi.yaml
Bumped to version v1.4.1
[github/Chocobozzz/PeerTube.git] / support / doc / api / openapi.yaml
index 570a377f8d2816e89f837c82ac8cd192b2e9d20c..30a250c70be0805d24399d4d99462b24deced89d 100644 (file)
@@ -1,7 +1,7 @@
 openapi: 3.0.0
 info:
   title: PeerTube
-  version: 1.4.0-rc.1
+  version: 1.4.1
   contact:
     name: PeerTube Community
     url: 'https://joinpeertube.org'
@@ -530,7 +530,7 @@ paths:
         - My User
       responses:
         '204':
-          description: Successful operation
+          description: successful operation
       requestBody:
         content:
           application/json:
@@ -818,12 +818,8 @@ paths:
       parameters:
         - $ref: '#/components/parameters/idOrUUID'
       responses:
-        '200':
+        '204':
           description: successful operation
-          content:
-            application/json:
-              schema:
-                $ref: '#/components/schemas/Video'
       requestBody:
         content:
           multipart/form-data:
@@ -872,6 +868,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'
     get: