summaryrefslogtreecommitdiff
path: root/docs/development
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-12-19 11:33:10 -0600
committerAlex Gleason <alex@alexgleason.me>2021-12-19 11:33:10 -0600
commite4f9cb1c1b3969164c03a219d5a760df07d2b3cd (patch)
treed9549feae7691be9988106f2a92ea387b3fdeaf2 /docs/development
parent720198d56950ca98f4d947dd630b0e170eda569b (diff)
parentbd853199d93e03fedf43397455939c6d633fa36b (diff)
downloadpleroma-e4f9cb1c1b3969164c03a219d5a760df07d2b3cd.tar.gz
pleroma-e4f9cb1c1b3969164c03a219d5a760df07d2b3cd.zip
Merge remote-tracking branch 'origin/develop' into manifest
Diffstat (limited to 'docs/development')
-rw-r--r--docs/development/API/admin_api.md40
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