Fix channel update/create openapi doc

pull/5615/head
Chocobozzz 2023-02-15 15:59:29 +01:00
parent f6cf8e8d8e
commit 597032cbd5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 12 additions and 2 deletions

View File

@ -8113,9 +8113,18 @@ components:
uuid:
$ref: '#/components/schemas/UUIDv4'
VideoChannelEdit:
properties:
displayName:
description: Channel display name
description:
description: Channel description
support:
description: How to support/fund the channel
VideoChannelCreate:
allOf:
- $ref: '#/components/schemas/VideoChannel'
- $ref: '#/components/schemas/VideoChannelEdit'
- properties:
name:
description: username of the channel to create
@ -8126,11 +8135,12 @@ components:
- displayName
VideoChannelUpdate:
allOf:
- $ref: '#/components/schemas/VideoChannel'
- $ref: '#/components/schemas/VideoChannelEdit'
- properties:
bulkVideosSupportUpdate:
type: boolean
description: Update the support field for all videos of this channel
VideoChannelList:
properties:
total: