ActivityPub-federated video streaming platform using P2P directly in your web browser
refactor abuses response list to totalDataList in openapi spec
Rigel Kent985ece575515
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex a7501c9d32..bfe3c6da4b 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -1867,6 +1867,7 @@ paths:/users/me/abuses:get:summary: List my abuses+ operationId: getMyAbusessecurity:- OAuth2: []tags:@@ -1882,22 +1883,29 @@ paths:in: queryschema:$ref: '#/components/schemas/AbuseStateSet'+ - $ref: '#/components/parameters/abusesSort'- $ref: '#/components/parameters/start'- $ref: '#/components/parameters/count'- - $ref: '#/components/parameters/abusesSort'responses:'200':description: successful operationcontent:application/json:schema:- type: array- items:- $ref: '#/components/schemas/Abuse'+ type: object+ properties:+ total:+ type: integer+ example: 1+ data:+ type: array+ items:+ $ref: '#/components/schemas/Abuse'/abuses:get:summary: List abuses+ operationId: getAbusessecurity:- OAuth2:- admin@@ -1970,9 +1978,15 @@ paths:content:application/json:schema:- type: array- items:- $ref: '#/components/schemas/Abuse'+ type: object+ properties:+ total:+ type: integer+ example: 1+ data:+ type: array+ items:+ $ref: '#/components/schemas/Abuse'post:summary: Report an abuse