projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e34710b
)
local -> only_local
author
Maxim Filippov
<colixer@gmail.com>
Mon, 4 Mar 2019 18:36:47 +0000
(21:36 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Mon, 4 Mar 2019 18:36:47 +0000
(21:36 +0300)
docs/Admin-API.md
patch
|
blob
|
history
diff --git
a/docs/Admin-API.md
b/docs/Admin-API.md
index 7f60b768acdc49409d621137130be3d933502666..24944440ac61ba8e1426a5cc46b6664f991a8fa5 100644
(file)
--- a/
docs/Admin-API.md
+++ b/
docs/Admin-API.md
@@
-2,14
+2,14
@@
Authentication is required and the user must be an admin.
Authentication is required and the user must be an admin.
-## `/api/pleroma/admin/users?query={query}&
local={
local}&page={page}&page_size={page_size}`
+## `/api/pleroma/admin/users?query={query}&
only_local={only_
local}&page={page}&page_size={page_size}`
### List users
- Method `GET`
- Params:
- `query`: **string** *optional* search term
### List users
- Method `GET`
- Params:
- `query`: **string** *optional* search term
- - `local`: **bool** *optional* whether to return only local users
+ - `
only_
local`: **bool** *optional* whether to return only local users
- `page`: **integer** *optional* page number
- `page_size`: **integer** *optional* number of users per page (default is `50`)
- Response:
- `page`: **integer** *optional* page number
- `page_size`: **integer** *optional* number of users per page (default is `50`)
- Response: