diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-08 14:53:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-08 14:53:03 +0200 |
commit | 8004469c0a14f8b19f91f87a9455713422146baa (patch) | |
tree | 65a61e8864fbb45e752abedd462932a2dd8a35fc /support | |
parent | 083328eb27ec2b08a22a390363b11ae66869eba3 (diff) | |
download | PeerTube-8004469c0a14f8b19f91f87a9455713422146baa.tar.gz PeerTube-8004469c0a14f8b19f91f87a9455713422146baa.tar.zst PeerTube-8004469c0a14f8b19f91f87a9455713422146baa.zip |
Fix video channel list api
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 11 |
1 files 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: | |||
2526 | content: | 2526 | content: |
2527 | application/json: | 2527 | application/json: |
2528 | schema: | 2528 | schema: |
2529 | type: array | 2529 | properties: |
2530 | items: | 2530 | total: |
2531 | $ref: '#/components/schemas/VideoChannel' | 2531 | type: integer |
2532 | example: 1 | ||
2533 | data: | ||
2534 | type: array | ||
2535 | items: | ||
2536 | $ref: '#/components/schemas/VideoChannel' | ||
2532 | '/accounts/{name}/ratings': | 2537 | '/accounts/{name}/ratings': |
2533 | get: | 2538 | get: |
2534 | summary: List ratings of an account | 2539 | summary: List ratings of an account |