Admin API: Allow querying user by ID

This commit is contained in:
Maxim Filippov 2019-07-05 19:33:53 +03:00
commit 6c50fbcd14
3 changed files with 13 additions and 1 deletions

View file

@ -187,6 +187,17 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
- On failure: `Not found`
- On success: JSON of the user
## `/api/pleroma/admin/users/:id`
### Retrive the details of a user
- Method: `GET`
- Params:
- `id`
- Response:
- On failure: `Not found`
- On success: JSON of the user
## `/api/pleroma/admin/relay`
### Follow a Relay