aboutsummaryrefslogtreecommitdiff
path: root/docs/API/admin_api.md
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-06-04 17:29:20 -0500
committerMark Felder <feld@FreeBSD.org>2020-06-04 17:29:20 -0500
commit55825b46bef6e397778adc58276f634f2006a823 (patch)
treedb1a310f77afaf0c4b1a93f87fa57aac10a79d7c /docs/API/admin_api.md
parent9d2c2a83a4f405ea36ef45144dcad972e2234a23 (diff)
parentf5cb1f3616e9cb9430038697532eb49161937dec (diff)
downloadpleroma-55825b46bef6e397778adc58276f634f2006a823.tar.gz
Merge branch 'develop' into fix/mediaproxy-http-invalidation
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r--docs/API/admin_api.md22
1 files changed, 19 insertions, 3 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md
index c455047cc..92816baf9 100644
--- a/docs/API/admin_api.md
+++ b/docs/API/admin_api.md
@@ -511,7 +511,23 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- `discoverable`
- `actor_type`
-- Response: none (code `200`)
+- Response:
+
+```json
+{"status": "success"}
+```
+
+```json
+{"errors":
+ {"actor_type": "is invalid"},
+ {"email": "has invalid format"},
+ ...
+ }
+```
+
+```json
+{"error": "Unable to update user."}
+```
## `GET /api/pleroma/admin/reports`
@@ -531,7 +547,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
```json
{
- "totalReports" : 1,
+ "total" : 1,
"reports": [
{
"account": {
@@ -752,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