This commit is contained in:
Maxim Filippov 2019-12-08 11:29:33 +03:00
parent a7f77785c2
commit 00c38cf28d
1 changed files with 14 additions and 2 deletions

View File

@ -609,16 +609,28 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
## `POST /api/pleroma/admin/reports/:id/notes`
### Create a report note
### Create report note
- Params:
- `id`
- `id`: required, report id
- `content`: required, the message
- Response:
- On failure:
- 400 Bad Request `"Invalid parameters"` when `status` is missing
- On success: `204`, empty response
## `POST /api/pleroma/admin/reports/:report_id/notes/:id`
### Delete report note
- Params:
- `report_id`: required, report id
- `id`: required, note id
- Response:
- On failure:
- 400 Bad Request `"Invalid parameters"` when `status` is missing
- On success: `204`, empty response
## `PUT /api/pleroma/admin/statuses/:id`
### Change the scope of an individual reported status