forked from AkkomaGang/akkoma
local -> only_local
This commit is contained in:
parent
e34710b988
commit
02359d686c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
### List users
|
||||||
|
|
||||||
- Method `GET`
|
- Method `GET`
|
||||||
- Params:
|
- Params:
|
||||||
- `query`: **string** *optional* search term
|
- `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`: **integer** *optional* page number
|
||||||
- `page_size`: **integer** *optional* number of users per page (default is `50`)
|
- `page_size`: **integer** *optional* number of users per page (default is `50`)
|
||||||
- Response:
|
- Response:
|
||||||
|
|
Loading…
Reference in a new issue