diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-08 09:25:57 -0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-20 20:55:35 +0100 |
commit | 910583e12233d3282f5aeeb678c6aa420f25be0f (patch) | |
tree | 2ad7a50960eb926a25400d74a872756331ddc390 /appinfo | |
parent | df1ad48a8d103d915168f8e63fa563c512b0a3e2 (diff) |
get link for remote to follow local account
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 554144c5..fad134fd 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -55,6 +55,7 @@ return [ ['name' => 'ActivityPub#following', 'url' => '/@{username}/following', 'verb' => 'GET'], ['name' => 'OStatus#subscribe', 'url' => '/ostatus/follow/{uri}', 'verb' => 'GET'], + ['name' => 'OStatus#getLink', 'url' => '/api/v1/ostatus/link/{local}/{account}', 'verb' => 'GET'], ['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{postId}', 'verb' => 'GET'], |