Add docs to /users/search

This commit is contained in:
Maxim Filippov 2019-03-01 17:34:14 +03:00
parent 46f29b9da1
commit adac745512

View file

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