diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-21 22:15:27 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-21 22:15:27 -0600 |
commit | 6124aef18d919a082091eaace70d2170c9b60e3e (patch) | |
tree | 510ba4dccad2a71709fba028cb7164fc2795e0d8 /docs/development | |
parent | 416c3f1bdafbd1f8d49d1bd46b6af377832bc263 (diff) | |
parent | 9c1cb87eff1fdd20f47355971831545a79c7cd3a (diff) | |
download | pleroma-6124aef18d919a082091eaace70d2170c9b60e3e.tar.gz |
Merge remote-tracking branch 'origin/develop' into operation-warpsneed
Diffstat (limited to 'docs/development')
-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 |