From 2e99c08902a3fe514c2c22702aed2596c70e54b9 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 24 May 2017 14:50:16 -0700 Subject: [PATCH] Document "mute boosts" functionality (#260) --- Using-Mastodon/User-guide.md | 2 +- Using-the-API/API.md | 24 ++++++++++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Using-Mastodon/User-guide.md b/Using-Mastodon/User-guide.md index ec1fc2cd..5d2c3d3a 100644 --- a/Using-Mastodon/User-guide.md +++ b/Using-Mastodon/User-guide.md @@ -207,7 +207,7 @@ The blocked user will not be notified of your blocking them. They will be remove #### Muting -If you do not wish to see posts from a particular user, but do not care about if they see your posts, you may choose to *mute* them. You can mute a user from the same menu on their profile page that you would block them from. You will not see posts from a muted user unless they @mention you. A muted user will have no way to know that you have them muted. +If you do not wish to see posts from a particular user, but do not care about if they see your posts, you may choose to *mute* them. You can mute a user from the same menu on their profile page that you would block them from. You will not see posts from a muted user unless they @mention you. A muted user will have no way to know that you have them muted. You can also mute a user's boosts without muting the user entirely, again from the same menu on their profile page. #### Reporting Toots or Users diff --git a/Using-the-API/API.md b/Using-the-API/API.md index 898a3e0d..e941e87a 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -164,6 +164,13 @@ Returns the target account's [Relationship](#relationship). Returns the target account's [Relationship](#relationship). +#### Muting/unmuting an account's boosts: + + POST /api/v1/accounts/:id/mute_boosts + POST /api/v1/accounts/:id/unmute_boosts + +Returns the target account's [Relationship](#relationship). + #### Getting an account's relationships: GET /api/v1/accounts/relationships @@ -609,14 +616,15 @@ Note: Some attributes in the entity payload can have ``null`` value and are mark ### Relationship -| Attribute | Description | Nullable | -| ------------------------ | ----------------------------------------------------------- | -------- | -| `id` | Target account id | no | -| `following` | Whether the user is currently following the account | no | -| `followed_by` | Whether the user is currently being followed by the account | no | -| `blocking` | Whether the user is currently blocking the account | no | -| `muting` | Whether the user is currently muting the account | no | -| `requested` | Whether the user has requested to follow the account | no | +| Attribute | Description | Nullable | +| ------------------------ | ------------------------------------------------------------ | -------- | +| `id` | Target account id | no | +| `following` | Whether the user is currently following the account | no | +| `followed_by` | Whether the user is currently being followed by the account | no | +| `blocking` | Whether the user is currently blocking the account | no | +| `muting` | Whether the user is currently muting the account | no | +| `muting_boosts` | Whether the user is currently muting boosts from the account | no | +| `requested` | Whether the user has requested to follow the account | no | ### Report