Add "local" params to users search

This commit is contained in:
Maxim Filippov 2019-03-01 20:13:02 +03:00
commit 5b08b470f6
6 changed files with 87 additions and 39 deletions

View file

@ -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