aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-03-01 17:34:14 +0300
committerMaxim Filippov <colixer@gmail.com>2019-03-01 17:34:14 +0300
commitadac7455122d37058bff2e4a805066f2cd24fbf9 (patch)
tree91eeaeae3ee1ee19c02ccca54f1381a278c459c4
parent46f29b9da1cfdcc2ab14616f999f061fa0c87ddc (diff)
downloadpleroma-adac7455122d37058bff2e4a805066f2cd24fbf9.tar.gz
Add docs to /users/search
-rw-r--r--docs/Admin-API.md20
1 files changed, 20 insertions, 0 deletions
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