This commit is contained in:
Maxim Filippov 2019-12-08 11:29:33 +03:00
parent a7f77785c2
commit 00c38cf28d

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` ## `POST /api/pleroma/admin/reports/:id/notes`
### Create a report note ### Create report note
- Params: - Params:
- `id` - `id`: required, report id
- `content`: required, the message - `content`: required, the message
- Response: - Response:
- On failure: - On failure:
- 400 Bad Request `"Invalid parameters"` when `status` is missing - 400 Bad Request `"Invalid parameters"` when `status` is missing
- On success: `204`, empty response - 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` ## `PUT /api/pleroma/admin/statuses/:id`
### Change the scope of an individual reported status ### Change the scope of an individual reported status