Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix video channel list api

Chocobozzz8004469c0a14
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index bf99cb45c5..a47654f69f 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