1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00
This commit is contained in:
Maxim Filippov 2019-07-06 15:16:56 +03:00
parent 6c50fbcd14
commit 9f23502856

View file

@ -176,24 +176,13 @@ 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`
## `/api/pleroma/admin/users/:nickname_or_id`
### Retrive the details of a user
- Method: `GET`
- Params:
- `nickname`
- Response:
- 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`
- `nickname` or `id`
- Response:
- On failure: `Not found`
- On success: JSON of the user