Fix channel update/create openapi doc
This commit is contained in:
parent
f6cf8e8d8e
commit
597032cbd5
|
@ -8113,9 +8113,18 @@ components:
|
||||||
uuid:
|
uuid:
|
||||||
$ref: '#/components/schemas/UUIDv4'
|
$ref: '#/components/schemas/UUIDv4'
|
||||||
|
|
||||||
|
VideoChannelEdit:
|
||||||
|
properties:
|
||||||
|
displayName:
|
||||||
|
description: Channel display name
|
||||||
|
description:
|
||||||
|
description: Channel description
|
||||||
|
support:
|
||||||
|
description: How to support/fund the channel
|
||||||
|
|
||||||
VideoChannelCreate:
|
VideoChannelCreate:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/VideoChannel'
|
- $ref: '#/components/schemas/VideoChannelEdit'
|
||||||
- properties:
|
- properties:
|
||||||
name:
|
name:
|
||||||
description: username of the channel to create
|
description: username of the channel to create
|
||||||
|
@ -8126,11 +8135,12 @@ components:
|
||||||
- displayName
|
- displayName
|
||||||
VideoChannelUpdate:
|
VideoChannelUpdate:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/VideoChannel'
|
- $ref: '#/components/schemas/VideoChannelEdit'
|
||||||
- properties:
|
- properties:
|
||||||
bulkVideosSupportUpdate:
|
bulkVideosSupportUpdate:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Update the support field for all videos of this channel
|
description: Update the support field for all videos of this channel
|
||||||
|
|
||||||
VideoChannelList:
|
VideoChannelList:
|
||||||
properties:
|
properties:
|
||||||
total:
|
total:
|
||||||
|
|
Loading…
Reference in New Issue