1
0
Fork 0

paginate response for abuse list in openapi spec

closes #4094
This commit is contained in:
Rigel Kent 2021-05-13 23:40:34 +02:00
parent 65cb01a252
commit c76ecc3ff7
No known key found for this signature in database
GPG key ID: 5E53E96A494E452F

View file

@ -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