Add originallyPublishedAt to PUT videos + change HTTP response to 204

pull/2034/head
Frank Sträter 2019-08-14 10:53:31 +02:00 committed by Chocobozzz
parent 54beb819f0
commit 37db4176f2
1 changed files with 6 additions and 6 deletions

View File

@ -530,7 +530,7 @@ paths:
- My User - My User
responses: responses:
'204': '204':
description: Successful operation description: successful operation
requestBody: requestBody:
content: content:
application/json: application/json:
@ -818,12 +818,8 @@ paths:
parameters: parameters:
- $ref: '#/components/parameters/idOrUUID' - $ref: '#/components/parameters/idOrUUID'
responses: responses:
'200': '204':
description: successful operation description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Video'
requestBody: requestBody:
content: content:
multipart/form-data: multipart/form-data:
@ -872,6 +868,10 @@ paths:
commentsEnabled: commentsEnabled:
description: Enable or disable comments for this video description: Enable or disable comments for this video
type: string type: string
originallyPublishedAt:
description: Date when the content was originally published
type: string
format: date-time
scheduleUpdate: scheduleUpdate:
$ref: '#/components/schemas/VideoScheduledUpdate' $ref: '#/components/schemas/VideoScheduledUpdate'
get: get: