From 581d62ea7723b8b491c65868e99105532bec986a Mon Sep 17 00:00:00 2001 From: Yann Date: Mon, 10 Apr 2017 22:03:47 +0200 Subject: [PATCH] Correct API accounts actions http method --- Using-the-API/API.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Using-the-API/API.md b/Using-the-API/API.md index 8a648b6d..172c1749 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -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).