From: Frank Sträter Date: Wed, 14 Aug 2019 08:53:31 +0000 (+0200) Subject: Add originallyPublishedAt to PUT videos + change HTTP response to 204 X-Git-Tag: test-tag-1.0.0~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=37db4176f23e9c69b81ce3f9d7130483ad38f9cb;p=oweals%2Fpeertube.git Add originallyPublishedAt to PUT videos + change HTTP response to 204 --- 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: - 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: