diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-19 11:33:10 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-19 11:33:10 -0600 |
commit | e4f9cb1c1b3969164c03a219d5a760df07d2b3cd (patch) | |
tree | d9549feae7691be9988106f2a92ea387b3fdeaf2 /docs/development/API/admin_api.md | |
parent | 720198d56950ca98f4d947dd630b0e170eda569b (diff) | |
parent | bd853199d93e03fedf43397455939c6d633fa36b (diff) | |
download | pleroma-e4f9cb1c1b3969164c03a219d5a760df07d2b3cd.tar.gz pleroma-e4f9cb1c1b3969164c03a219d5a760df07d2b3cd.zip |
Merge remote-tracking branch 'origin/develop' into manifest
Diffstat (limited to 'docs/development/API/admin_api.md')
-rw-r--r-- | docs/development/API/admin_api.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md index 82483fae7..f14081893 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -261,6 +261,46 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret } ``` +## `PATCH /api/v1/pleroma/admin/users/suggest` + +### Suggest a user + +Adds the user(s) to follower recommendations. + +- Params: + - `nicknames`: nicknames array +- Response: + +```json +{ + users: [ + { + // user object + } + ] +} +``` + +## `PATCH /api/v1/pleroma/admin/users/unsuggest` + +### Unsuggest a user + +Removes the user(s) from follower recommendations. + +- Params: + - `nicknames`: nicknames array +- Response: + +```json +{ + users: [ + { + // user object + } + ] +} +``` + ## `GET /api/v1/pleroma/admin/users/:nickname_or_id` ### Retrive the details of a user |