Merge pull request #2 from mastodon-land/bug-api-http-method

Correct API accounts actions http method
This commit is contained in:
wxcafé 2017-04-11 14:45:50 +02:00 committed by GitHub
commit 39103b3b46
1 changed files with 6 additions and 6 deletions

View File

@ -110,22 +110,22 @@ Returns an array of [Statuses](#status).
#### Following/unfollowing an account:
GET /api/v1/accounts/:id/follow
GET /api/v1/accounts/:id/unfollow
POST /api/v1/accounts/:id/follow
POST /api/v1/accounts/:id/unfollow
Returns the target [Account](#account).
#### 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).
#### 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).