aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-05-13 23:37:35 +0200
committerRigel Kent <sendmemail@rigelk.eu>2021-05-13 23:37:39 +0200
commit65cb01a252a58f5faa1f83a80a3899282d4ce0bd (patch)
tree55e5accd521737d4851db208b0641370b70618bc /support/doc/api/openapi.yaml
parentca98c8f8440413f7d6612403c29bf6d43f56eed6 (diff)
downloadPeerTube-65cb01a252a58f5faa1f83a80a3899282d4ce0bd.tar.gz
PeerTube-65cb01a252a58f5faa1f83a80a3899282d4ce0bd.tar.zst
PeerTube-65cb01a252a58f5faa1f83a80a3899282d4ce0bd.zip
modify response for adding abuse in openapi spec
closes #4093
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml12
1 files changed, 11 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 74d5c608c..3f9fcd08b 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -2236,8 +2236,18 @@ paths:
2236 required: 2236 required:
2237 - reason 2237 - reason
2238 responses: 2238 responses:
2239 '204': 2239 '200':
2240 description: successful operation 2240 description: successful operation
2241 content:
2242 application/json:
2243 schema:
2244 type: object
2245 properties:
2246 abuse:
2247 type: object
2248 properties:
2249 id:
2250 $ref: '#/components/schemas/id'
2241 '400': 2251 '400':
2242 description: incorrect request parameters 2252 description: incorrect request parameters
2243 '/abuses/{abuseId}': 2253 '/abuses/{abuseId}':