projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f29b9
)
Add docs to /users/search
author
Maxim Filippov
<colixer@gmail.com>
Fri, 1 Mar 2019 14:34:14 +0000
(17:34 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Fri, 1 Mar 2019 14:34:14 +0000
(17:34 +0300)
docs/Admin-API.md
patch
|
blob
|
history
diff --git
a/docs/Admin-API.md
b/docs/Admin-API.md
index 508981d38353fc2dc99185ca0f58ba290e5fe404..ed19bc875d698d47a1eb3044bb8f86f561e0ac00 100644
(file)
--- 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