Fix docs
This commit is contained in:
parent
6c50fbcd14
commit
9f23502856
|
@ -176,24 +176,13 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
|
||||||
- `nickname`
|
- `nickname`
|
||||||
- `status` BOOLEAN field, false value means deactivation.
|
- `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
|
### Retrive the details of a user
|
||||||
|
|
||||||
- Method: `GET`
|
- Method: `GET`
|
||||||
- Params:
|
- Params:
|
||||||
- `nickname`
|
- `nickname` or `id`
|
||||||
- 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`
|
|
||||||
- Response:
|
- Response:
|
||||||
- On failure: `Not found`
|
- On failure: `Not found`
|
||||||
- On success: JSON of the user
|
- On success: JSON of the user
|
||||||
|
|
Loading…
Reference in a new issue