aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorFrank Sträter <fstrater@beeldengeluid.nl>2019-08-14 10:53:31 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-08-14 11:10:17 +0200
commit37db4176f23e9c69b81ce3f9d7130483ad38f9cb (patch)
tree6f9184c7daf477a7b8dae0d2ae86c8ffa0b40b72 /support/doc
parent54beb819f05f033f84cd397b1a3534b20cde916f (diff)
downloadPeerTube-37db4176f23e9c69b81ce3f9d7130483ad38f9cb.tar.gz
PeerTube-37db4176f23e9c69b81ce3f9d7130483ad38f9cb.tar.zst
PeerTube-37db4176f23e9c69b81ce3f9d7130483ad38f9cb.zip
Add originallyPublishedAt to PUT videos + change HTTP response to 204
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 570a377f8..78159f89c 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -530,7 +530,7 @@ paths:
530 - My User 530 - My User
531 responses: 531 responses:
532 '204': 532 '204':
533 description: Successful operation 533 description: successful operation
534 requestBody: 534 requestBody:
535 content: 535 content:
536 application/json: 536 application/json:
@@ -818,12 +818,8 @@ paths:
818 parameters: 818 parameters:
819 - $ref: '#/components/parameters/idOrUUID' 819 - $ref: '#/components/parameters/idOrUUID'
820 responses: 820 responses:
821 '200': 821 '204':
822 description: successful operation 822 description: successful operation
823 content:
824 application/json:
825 schema:
826 $ref: '#/components/schemas/Video'
827 requestBody: 823 requestBody:
828 content: 824 content:
829 multipart/form-data: 825 multipart/form-data:
@@ -872,6 +868,10 @@ paths:
872 commentsEnabled: 868 commentsEnabled:
873 description: Enable or disable comments for this video 869 description: Enable or disable comments for this video
874 type: string 870 type: string
871 originallyPublishedAt:
872 description: Date when the content was originally published
873 type: string
874 format: date-time
875 scheduleUpdate: 875 scheduleUpdate:
876 $ref: '#/components/schemas/VideoScheduledUpdate' 876 $ref: '#/components/schemas/VideoScheduledUpdate'
877 get: 877 get: