summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-11-16 10:48:31 -0100
committerMaxence Lange <maxence@artificial-owl.com>2018-11-16 10:48:31 -0100
commitee7e735722b7b085dc70eaab7bc7ef423a850bd8 (patch)
tree882ae62a9d8d8df7c29bd80c91aaf7d2486daaf0 /appinfo
parent31867cfbb74123ce59f9eb0b474d03f93dd8d296 (diff)
saving follows in database
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 307f59c0..df7b2a87 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -35,7 +35,9 @@ return [
['name' => 'Local#newPost', 'url' => '/api/v1/post', 'verb' => 'POST'],
['name' => 'Local#timeline', 'url' => '/api/v1/timeline', 'verb' => 'GET'],
['name' => 'Local#direct', 'url' => '/api/v1/direct', 'verb' => 'PUT'],
- ['name' => 'Local#accountSearch', 'url' => '/api/v1/accounts/search', 'verb' => 'GET'],
+ ['name' => 'Local#accountsSearch', 'url' => '/api/v1/accounts/search', 'verb' => 'GET'],
+ ['name' => 'Local#accountFollow', 'url' => '/api/v1/account/follow', 'verb' => 'PUT'],
+ ['name' => 'Local#accountUnfollow', 'url' => '/api/v1/account/follow', 'verb' => 'DELETE'],
['name' => 'Local#actorInfo', 'url' => '/api/v1/actor/info', 'verb' => 'GET']
]