diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-12-08 11:29:33 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-12-08 11:29:33 +0300 |
commit | 00c38cf28dd2412650d5e0dba7f98997ff49f402 (patch) | |
tree | 2d7053b2c61ca46c1302bf1d2a63b09caa87c104 /docs/API/admin_api.md | |
parent | a7f77785c2675b5f9f7ede85e92ec50444945e54 (diff) | |
download | pleroma-00c38cf28dd2412650d5e0dba7f98997ff49f402.tar.gz |
Docs
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index e51fad2cb..98efbf9c9 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -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 |