Skip to content

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

paginate response for abuse list in openapi spec

Rigel Kentc76ecc3ff746
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 3f9fcd08bc..fc62f95bb7 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -2309,9 +2309,15 @@ paths:
content:
application/json:
schema:
- type: array
- items:
- $ref: '#/components/schemas/AbuseMessage'
+ type: object
+ properties:
+ total:
+ type: integer
+ example: 1
+ data:
+ type: array
+ items:
+ $ref: '#/components/schemas/AbuseMessage'
post:
summary: Add message to an abuse