Fix video channel API route param in doc

This commit is contained in:
Chocobozzz 2019-04-24 16:57:23 +02:00
parent fbe1bc2afa
commit 9ce3d3027e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -1276,13 +1276,13 @@ paths:
$ref: '#/paths/~1users~1me/put/responses/204' $ref: '#/paths/~1users~1me/put/responses/204'
requestBody: requestBody:
$ref: '#/components/requestBodies/VideoChannelInput' $ref: '#/components/requestBodies/VideoChannelInput'
'/video-channels/{id}': '/video-channels/{channelHandle}':
get: get:
summary: Get a video channel by its id summary: Get a video channel by its id
tags: tags:
- Video Channel - Video Channel
parameters: parameters:
- $ref: '#/components/parameters/id3' - $ref: '#/components/parameters/channelHandle'
responses: responses:
'200': '200':
description: successful operation description: successful operation
@ -1297,7 +1297,7 @@ paths:
tags: tags:
- Video Channel - Video Channel
parameters: parameters:
- $ref: '#/components/parameters/id3' - $ref: '#/components/parameters/channelHandle'
responses: responses:
'204': '204':
$ref: '#/paths/~1users~1me/put/responses/204' $ref: '#/paths/~1users~1me/put/responses/204'
@ -1310,17 +1310,17 @@ paths:
tags: tags:
- Video Channel - Video Channel
parameters: parameters:
- $ref: '#/components/parameters/id3' - $ref: '#/components/parameters/channelHandle'
responses: responses:
'204': '204':
$ref: '#/paths/~1users~1me/put/responses/204' $ref: '#/paths/~1users~1me/put/responses/204'
'/video-channels/{id}/videos': '/video-channels/{channelHandle}/videos':
get: get:
summary: Get videos of a video channel by its id summary: Get videos of a video channel by its id
tags: tags:
- Video Channel - Video Channel
parameters: parameters:
- $ref: '#/components/parameters/id3' - $ref: '#/components/parameters/channelHandle'
responses: responses:
'200': '200':
description: successful operation description: successful operation
@ -1611,11 +1611,11 @@ components:
description: The video id or uuid description: The video id or uuid
schema: schema:
type: string type: string
id3: channelHandle:
name: id name: channelHandle
in: path in: path
required: true required: true
description: The video channel id or uuid description: "The video channel handle (example: 'my_username@example.com' or 'my_username')"
schema: schema:
type: string type: string
commentId: commentId: