diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-08 15:52:03 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | b4d773940c9d6c601a2dc9a2ba39c0f6348e9545 (patch) | |
tree | 4b0ae964c51e8e8c8fc2f5411a180c177bc71858 /appinfo | |
parent | 36f7b7290bfab599610b779d83b12806fddacfce (diff) |
Returns if a post is boosted, and allow unboost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index d0816a74..620d46c0 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -72,6 +72,7 @@ return [ ['name' => 'Local#postDelete', 'url' => '/api/v1/post', 'verb' => 'DELETE'], ['name' => 'Local#postBoost', 'url' => '/api/v1/post/boost', 'verb' => 'POST'], + ['name' => 'Local#postUnboost', 'url' => '/api/v1/post/boost', 'verb' => 'DELETE'], ['name' => 'Local#actionFollow', 'url' => '/api/v1/current/follow', 'verb' => 'PUT'], ['name' => 'Local#actionUnfollow', 'url' => '/api/v1/current/follow', 'verb' => 'DELETE'], |