From 152d4045f223fad21a54d0f89874df9e4fdc7f1d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 17 Dec 2017 15:08:21 +0100 Subject: [PATCH] Update API.md (#489) Update mute call with the parameter 'notifications' --- Using-the-API/API.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Using-the-API/API.md b/Using-the-API/API.md index a230f16e..e7462bdc 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -173,6 +173,15 @@ Returns the target account's [Relationship](#relationship). #### Muting/unmuting an account: POST /api/v1/accounts/:id/mute + + Form data: + +| Field | Description | Optional | +| -------------- | ----------------------------------------- | ---------- | +| `notifications` | Determines whether the mute will mute notifications or not. Default(true) | yes | + +Returns the target account's [Relationship](#relationship). + POST /api/v1/accounts/:id/unmute Returns the target account's [Relationship](#relationship).