Add user show endpoint for Pleroma admin API

This commit is contained in:
eugenijm 2019-03-27 21:19:00 +03:00
commit 10c81fc902
4 changed files with 62 additions and 0 deletions

View file

@ -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