Add originallyPublishedAt to PUT videos + change HTTP response to 204
This commit is contained in:
parent
54beb819f0
commit
37db4176f2
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue