diff options
author | eugenijm <eugenijm@protonmail.com> | 2019-03-27 21:19:00 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2019-03-27 21:44:15 +0300 |
commit | 10c81fc902c639633bddff64a3e7450a6796d180 (patch) | |
tree | f37ac2a556b12edda9ef66c23875e221a30ed591 /docs/Admin-API.md | |
parent | 926bf114b7385761c3cac50e262d061f47fda4b8 (diff) | |
download | pleroma-10c81fc902c639633bddff64a3e7450a6796d180.tar.gz |
Add user show endpoint for Pleroma admin API
Diffstat (limited to 'docs/Admin-API.md')
-rw-r--r-- | docs/Admin-API.md | 11 |
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 |