From 8004469c0a14f8b19f91f87a9455713422146baa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 8 Apr 2021 14:53:03 +0200 Subject: [PATCH 1/1] Fix video channel list api --- support/doc/api/openapi.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index bf99cb45c..a47654f69 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -2526,9 +2526,14 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/VideoChannel' + properties: + total: + type: integer + example: 1 + data: + type: array + items: + $ref: '#/components/schemas/VideoChannel' '/accounts/{name}/ratings': get: summary: List ratings of an account -- 2.41.0