Update API.md (#489)

Update mute call with the parameter 'notifications'
This commit is contained in:
Thomas 2017-12-17 15:08:21 +01:00 committed by Eugen Rochko
parent 8cd6b13533
commit 152d4045f2
1 changed files with 9 additions and 0 deletions

View File

@ -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).