From 37db4176f23e9c69b81ce3f9d7130483ad38f9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Str=C3=A4ter?= Date: Wed, 14 Aug 2019 10:53:31 +0200 Subject: Add originallyPublishedAt to PUT videos + change HTTP response to 204 --- support/doc/api/openapi.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'support/doc/api/openapi.yaml') 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: -- cgit v1.2.3