forked from AkkomaGang/akkoma
Add docs to /users/search
This commit is contained in:
parent
46f29b9da1
commit
adac745512
1 changed files with 20 additions and 0 deletions
|
@ -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`
|
## `/api/pleroma/admin/user`
|
||||||
|
|
||||||
### Remove a user
|
### Remove a user
|
||||||
|
|
Loading…
Reference in a new issue