1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

API documentation fix for blocking/muting (#50)

This is the same error as in 218a1a2444, originally fixed by 581d62ea77 but (accidentally?) reverted by eebeee2b76
This commit is contained in:
Go Shoemake 2017-04-15 03:13:29 -07:00 committed by wxcafé
parent cfa16aa56b
commit 0909e703a6

View File

@ -126,21 +126,21 @@ Returns an array of [Statuses](#status).
POST /api/v1/accounts/:id/follow
POST /api/v1/accounts/:id/unfollow
Returns the target [Relationship](#relationship).
Returns the target account's [Relationship](#relationship).
#### Blocking/unblocking an account:
GET /api/v1/accounts/:id/block
GET /api/v1/accounts/:id/unblock
POST /api/v1/accounts/:id/block
POST /api/v1/accounts/:id/unblock
Returns the target [Account](#account).
Returns the target account's [Relationship](#relationship).
#### Muting/unmuting an account:
GET /api/v1/accounts/:id/mute
GET /api/v1/accounts/:id/unmute
POST /api/v1/accounts/:id/mute
POST /api/v1/accounts/:id/unmute
Returns the target [Account](#account).
Returns the target account's [Relationship](#relationship).
#### Getting an account's relationships: