Fix docs
authorMaxim Filippov <colixer@gmail.com>
Sat, 6 Jul 2019 12:16:56 +0000 (15:16 +0300)
committerMaxim Filippov <colixer@gmail.com>
Sat, 6 Jul 2019 12:16:56 +0000 (15:16 +0300)
docs/api/admin_api.md

index 02baa09ed4ec798ad6088447cfbbf50dd5ca9755..bce5e399bbedecc806f9c50f7171a108dade74c3 100644 (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