mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Merge pull request #2 from mastodon-land/bug-api-http-method
Correct API accounts actions http method
This commit is contained in:
commit
39103b3b46
@ -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).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user