Fix video channel list api

pull/5487/head
Chocobozzz 2021-04-08 14:53:03 +02:00
parent 083328eb27
commit 8004469c0a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 8 additions and 3 deletions

View File

@ -2526,9 +2526,14 @@ paths:
content: content:
application/json: application/json:
schema: schema:
type: array properties:
items: total:
$ref: '#/components/schemas/VideoChannel' type: integer
example: 1
data:
type: array
items:
$ref: '#/components/schemas/VideoChannel'
'/accounts/{name}/ratings': '/accounts/{name}/ratings':
get: get:
summary: List ratings of an account summary: List ratings of an account