diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-07-06 15:16:56 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-07-06 15:16:56 +0300 |
commit | 9f235028569968871ef9ea933459c6e9369e737a (patch) | |
tree | e040ebf19d377b51197f9b05af5d921d32e2ed05 /docs/api | |
parent | 6c50fbcd14b56665979199150659635575fd1b25 (diff) | |
download | pleroma-9f235028569968871ef9ea933459c6e9369e737a.tar.gz |
Fix docs
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/admin_api.md | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md index 02baa09ed..bce5e399b 100644 --- a/docs/api/admin_api.md +++ b/docs/api/admin_api.md @@ -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 |