Add OpenAPI spec for AdminAPI.ReportController

This commit is contained in:
Egor Kislitsyn 2020-06-03 19:10:11 +04:00
commit c16315d055
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
6 changed files with 310 additions and 88 deletions

View file

@ -547,7 +547,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
```json
{
"totalReports" : 1,
"total" : 1,
"reports": [
{
"account": {
@ -768,7 +768,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- 400 Bad Request `"Invalid parameters"` when `status` is missing
- On success: `204`, empty response
## `POST /api/pleroma/admin/reports/:report_id/notes/:id`
## `DELETE /api/pleroma/admin/reports/:report_id/notes/:id`
### Delete report note