diff options
author | kaniini <nenolod@gmail.com> | 2019-07-09 17:53:41 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-07-09 17:53:41 +0000 |
commit | 670a77ecbc94d57c6ecb5e569597e81cee4b5532 (patch) | |
tree | 4f00d76cc36b45ea1b99f5087d800e88f71c232c /docs/api | |
parent | 1417627d07a29e06efec2b282405e72bcfb1269c (diff) | |
parent | 9a9b60cfbcbcdf3e48e42aa75ff530007cf03b96 (diff) | |
download | pleroma-670a77ecbc94d57c6ecb5e569597e81cee4b5532.tar.gz |
Merge branch 'feature/allow-user-query-via-id' into 'develop'
Admin API: Allow querying user by ID
See merge request pleroma/pleroma!1380
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/admin_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md index 74bde3ece..bce5e399b 100644 --- a/docs/api/admin_api.md +++ b/docs/api/admin_api.md @@ -176,13 +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` + - `nickname` or `id` - Response: - On failure: `Not found` - On success: JSON of the user |