Skip to content

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

modify response for adding abuse in openapi spec

Rigel Kent65cb01a252a5
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 74d5c608cb..3f9fcd08bc 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -2236,8 +2236,18 @@ paths:
required:
- reason
responses:
- '204':
+ '200':
description: successful operation
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ abuse:
+ type: object
+ properties:
+ id:
+ $ref: '#/components/schemas/id'
'400':
description: incorrect request parameters
'/abuses/{abuseId}':