diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-06 11:48:46 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-20 20:58:32 +0100 |
commit | bc542a613fa1cdcff9a5d7410a2d46cffc0c5122 (patch) | |
tree | da6f08c37774b018cc5a637cd43bfff75f285f4a /appinfo | |
parent | 5f0fa2cbc1b83fc7f3146ac06feb783227455c63 (diff) |
Implement following a remote from the public pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 fad134fd..2b64e712 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#followRemote', 'url' => '/api/v1/ostatus/followRemote/{local}', 'verb' => 'GET'], ['name' => 'OStatus#getLink', 'url' => '/api/v1/ostatus/link/{local}/{account}', 'verb' => 'GET'], ['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{postId}', 'verb' => 'GET'], |