aboutsummaryrefslogtreecommitdiff
path: root/docs/Admin-API.md
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-03-01 20:13:02 +0300
committerMaxim Filippov <colixer@gmail.com>2019-03-01 20:13:02 +0300
commit5b08b470f69738f4528455a58fefe3a8d4acae02 (patch)
tree6a2a30ee1ce724d9382a09cd38b9272a96b2e1b2 /docs/Admin-API.md
parentadac7455122d37058bff2e4a805066f2cd24fbf9 (diff)
downloadpleroma-5b08b470f69738f4528455a58fefe3a8d4acae02.tar.gz
Add "local" params to users search
Diffstat (limited to 'docs/Admin-API.md')
-rw-r--r--docs/Admin-API.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/Admin-API.md b/docs/Admin-API.md
index ed19bc875..4403620bf 100644
--- a/docs/Admin-API.md
+++ b/docs/Admin-API.md
@@ -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