summaryrefslogtreecommitdiff
path: root/docs/API/admin_api.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-07 14:45:20 +0200
committerlain <lain@soykaf.club>2020-05-07 14:45:20 +0200
commitf0c22df2265e922a66ca69c3508fe812b8e20b6b (patch)
treebe510abc9cc9154e07b2ec9eaf344e6e4e88bed1 /docs/API/admin_api.md
parent92caae592338a3ca307686e7644f2de18bb57ce5 (diff)
parent4c92dfb73ef1f40438adf5da009499205a677912 (diff)
downloadpleroma-f0c22df2265e922a66ca69c3508fe812b8e20b6b.tar.gz
pleroma-f0c22df2265e922a66ca69c3508fe812b8e20b6b.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-validator-reduced
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r--docs/API/admin_api.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md
index 6202c5a1a..c455047cc 100644
--- a/docs/API/admin_api.md
+++ b/docs/API/admin_api.md
@@ -409,6 +409,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
### Get a password reset token for a given nickname
+
- Params: none
- Response:
@@ -427,6 +428,14 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- `nicknames`
- Response: none (code `204`)
+## PUT `/api/pleroma/admin/users/disable_mfa`
+
+### Disable mfa for user's account.
+
+- Params:
+ - `nickname`
+- Response: User’s nickname
+
## `GET /api/pleroma/admin/users/:nickname/credentials`
### Get the user's email, password, display and settings-related fields
@@ -755,6 +764,17 @@ 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
+## `GET /api/pleroma/admin/statuses/:id`
+
+### Show status by id
+
+- Params:
+ - `id`: required, status id
+- Response:
+ - On failure:
+ - 404 Not Found `"Not Found"`
+ - On success: JSON, Mastodon Status entity
+
## `PUT /api/pleroma/admin/statuses/:id`
### Change the scope of an individual reported status