Add "local" params to users search
This commit is contained in:
parent
adac745512
commit
5b08b470f6
6 changed files with 87 additions and 39 deletions
|
|
@ -20,13 +20,14 @@ Authentication is required and the user must be an admin.
|
|||
]
|
||||
```
|
||||
|
||||
## `/api/pleroma/admin/users/search?query={query}`
|
||||
## `/api/pleroma/admin/users/search?query={query}&local={local}`
|
||||
|
||||
### Search users
|
||||
### Search users by name or nickname
|
||||
|
||||
- Method `GET`
|
||||
- Params:
|
||||
- `query`
|
||||
- `query`: **string** search term
|
||||
- `local`: **bool** whether to return only local users
|
||||
- Response:
|
||||
|
||||
```JSON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue