summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-01-07 18:25:16 -0100
committerJulius Härtl <jus@bitgrid.net>2019-02-20 20:55:32 +0100
commite3db06429991c4797e1fc5ea9f5897da24394eaf (patch)
tree26238ca2e7a07ec65f9fedf1e2fa851681dbc0a4 /appinfo
parent8c81eec9aac7232c943649e54b4fc7c09ef6dc1a (diff)
generate route
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 8b28ae27..554144c5 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -54,6 +54,8 @@ return [
['name' => 'ActivityPub#followers', 'url' => '/@{username}/followers', 'verb' => 'GET'],
['name' => 'ActivityPub#following', 'url' => '/@{username}/following', 'verb' => 'GET'],
+ ['name' => 'OStatus#subscribe', 'url' => '/ostatus/follow/{uri}', 'verb' => 'GET'],
+
['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{postId}', 'verb' => 'GET'],
['name' => 'Local#streamHome', 'url' => '/api/v1/stream/home', 'verb' => 'GET'],