aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-15 15:59:29 +0100
committerChocobozzz <me@florianbigard.com>2023-02-15 16:08:37 +0100
commit597032cbd5ea6b027e0f8a743b22133906445585 (patch)
treeb3f9ae63b1b25d3bd8c6c6054249f04627af0528
parentf6cf8e8d8e9bc61dac266886c873613bb715936d (diff)
downloadPeerTube-597032cbd5ea6b027e0f8a743b22133906445585.tar.gz
PeerTube-597032cbd5ea6b027e0f8a743b22133906445585.tar.zst
PeerTube-597032cbd5ea6b027e0f8a743b22133906445585.zip
Fix channel update/create openapi doc
-rw-r--r--support/doc/api/openapi.yaml14
1 files changed, 12 insertions, 2 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index f90b7f575..256bfc701 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -8113,9 +8113,18 @@ components:
8113 uuid: 8113 uuid:
8114 $ref: '#/components/schemas/UUIDv4' 8114 $ref: '#/components/schemas/UUIDv4'
8115 8115
8116 VideoChannelEdit:
8117 properties:
8118 displayName:
8119 description: Channel display name
8120 description:
8121 description: Channel description
8122 support:
8123 description: How to support/fund the channel
8124
8116 VideoChannelCreate: 8125 VideoChannelCreate:
8117 allOf: 8126 allOf:
8118 - $ref: '#/components/schemas/VideoChannel' 8127 - $ref: '#/components/schemas/VideoChannelEdit'
8119 - properties: 8128 - properties:
8120 name: 8129 name:
8121 description: username of the channel to create 8130 description: username of the channel to create
@@ -8126,11 +8135,12 @@ components:
8126 - displayName 8135 - displayName
8127 VideoChannelUpdate: 8136 VideoChannelUpdate:
8128 allOf: 8137 allOf:
8129 - $ref: '#/components/schemas/VideoChannel' 8138 - $ref: '#/components/schemas/VideoChannelEdit'
8130 - properties: 8139 - properties:
8131 bulkVideosSupportUpdate: 8140 bulkVideosSupportUpdate:
8132 type: boolean 8141 type: boolean
8133 description: Update the support field for all videos of this channel 8142 description: Update the support field for all videos of this channel
8143
8134 VideoChannelList: 8144 VideoChannelList:
8135 properties: 8145 properties:
8136 total: 8146 total: