aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-31 16:30:11 +0200
committerChocobozzz <me@florianbigard.com>2019-05-31 16:44:46 +0200
commit7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c (patch)
treed2d2c9806dd1bf551ad39102149f514bca4c52eb /support/doc/api/openapi.yaml
parent9977c128387f38dddd697b2e9a405dcea52407b7 (diff)
downloadPeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.tar.gz
PeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.tar.zst
PeerTube-7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c.zip
Server: Bulk update videos support field
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml36
1 files changed, 27 insertions, 9 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index a8a064fd0..f3f565694 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1322,7 +1322,10 @@ paths:
1322 '204': 1322 '204':
1323 $ref: '#/paths/~1users~1me/put/responses/204' 1323 $ref: '#/paths/~1users~1me/put/responses/204'
1324 requestBody: 1324 requestBody:
1325 $ref: '#/components/requestBodies/VideoChannelInput' 1325 content:
1326 application/json:
1327 schema:
1328 $ref: '#/components/schemas/VideoChannelCreate'
1326 '/video-channels/{channelHandle}': 1329 '/video-channels/{channelHandle}':
1327 get: 1330 get:
1328 summary: Get a video channel by its id 1331 summary: Get a video channel by its id
@@ -1349,7 +1352,10 @@ paths:
1349 '204': 1352 '204':
1350 $ref: '#/paths/~1users~1me/put/responses/204' 1353 $ref: '#/paths/~1users~1me/put/responses/204'
1351 requestBody: 1354 requestBody:
1352 $ref: '#/components/requestBodies/VideoChannelInput' 1355 content:
1356 application/json:
1357 schema:
1358 $ref: '#/components/schemas/VideoChannelUpdate'
1353 delete: 1359 delete:
1354 summary: Delete a video channel by its id 1360 summary: Delete a video channel by its id
1355 security: 1361 security:
@@ -1775,12 +1781,6 @@ components:
1775 type: array 1781 type: array
1776 items: 1782 items:
1777 type: string 1783 type: string
1778 requestBodies:
1779 VideoChannelInput:
1780 content:
1781 application/json:
1782 schema:
1783 $ref: '#/components/schemas/VideoChannelInput'
1784 securitySchemes: 1784 securitySchemes:
1785 OAuth2: 1785 OAuth2:
1786 description: > 1786 description: >
@@ -2294,10 +2294,28 @@ components:
2294 - username 2294 - username
2295 - password 2295 - password
2296 - email 2296 - email
2297 VideoChannelInput: 2297 VideoChannelCreate:
2298 properties: 2298 properties:
2299 name: 2299 name:
2300 type: string 2300 type: string
2301 displayName:
2302 type: string
2301 description: 2303 description:
2302 type: string 2304 type: string
2305 support:
2306 type: string
2307 required:
2308 - name
2309 - displayName
2310 VideoChannelUpdate:
2311 properties:
2312 displayName:
2313 type: string
2314 description:
2315 type: string
2316 support:
2317 type: string
2318 bulkVideosSupportUpdate:
2319 type: boolean
2320 description: 'Update all videos support field of this channel'
2303 2321