aboutsummaryrefslogtreecommitdiff
path: root/docs/Admin-API.md
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2019-03-27 21:19:00 +0300
committereugenijm <eugenijm@protonmail.com>2019-03-27 21:44:15 +0300
commit10c81fc902c639633bddff64a3e7450a6796d180 (patch)
treef37ac2a556b12edda9ef66c23875e221a30ed591 /docs/Admin-API.md
parent926bf114b7385761c3cac50e262d061f47fda4b8 (diff)
downloadpleroma-10c81fc902c639633bddff64a3e7450a6796d180.tar.gz
Add user show endpoint for Pleroma admin API
Diffstat (limited to 'docs/Admin-API.md')
-rw-r--r--docs/Admin-API.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/Admin-API.md b/docs/Admin-API.md
index 84adca6ff..53b68ffd4 100644
--- a/docs/Admin-API.md
+++ b/docs/Admin-API.md
@@ -149,6 +149,17 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- `nickname`
- `status` BOOLEAN field, false value means deactivation.
+## `/api/pleroma/admin/users/:nickname`
+
+### Retrive the details of a user
+
+- Method: `GET`
+- Params:
+ - `nickname`
+- Response:
+ - On failure: `Not found`
+ - On success: JSON of the user
+
## `/api/pleroma/admin/relay`
### Follow a Relay