From: Maxim Filippov Date: Fri, 1 Mar 2019 14:34:14 +0000 (+0300) Subject: Add docs to /users/search X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=adac7455122d37058bff2e4a805066f2cd24fbf9;p=akkoma Add docs to /users/search --- diff --git a/docs/Admin-API.md b/docs/Admin-API.md index 508981d38..ed19bc875 100644 --- a/docs/Admin-API.md +++ b/docs/Admin-API.md @@ -20,6 +20,26 @@ Authentication is required and the user must be an admin. ] ``` +## `/api/pleroma/admin/users/search?query={query}` + +### Search users + +- Method `GET` +- Params: + - `query` +- Response: + +```JSON +[ + { + "deactivated": bool, + "id": integer, + "nickname": string + }, + ... +] +``` + ## `/api/pleroma/admin/user` ### Remove a user