diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2020-08-25 02:06:43 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2020-08-25 02:06:43 -0100 |
commit | e986ca6a4f6596036f5ee32b4a70639c7f891492 (patch) | |
tree | 82f299ca20585500d57cd3700866fa3fe44521b3 /appinfo | |
parent | db9a804de057d0e7a8a592a7c31305c5cae1ba92 (diff) |
proof of concept
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 93ea98bf..6fd49864 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -52,6 +52,7 @@ return [ ['name' => 'ActivityPub#actor', 'url' => '/users/{username}', 'verb' => 'GET'], ['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}/', 'verb' => 'GET'], ['name' => 'ActivityPub#inbox', 'url' => '/@{username}/inbox', 'verb' => 'POST'], + ['name' => 'ActivityPub#getInbox', 'url' => '/@{username}/inbox', 'verb' => 'GET'], ['name' => 'ActivityPub#sharedInbox', 'url' => '/inbox', 'verb' => 'POST'], ['name' => 'ActivityPub#outbox', 'url' => '/@{username}/outbox', 'verb' => 'GET'], @@ -65,6 +66,17 @@ return [ ['name' => 'OStatus#followRemote', 'url' => '/api/v1/ostatus/followRemote/{local}', 'verb' => 'GET'], ['name' => 'OStatus#getLink', 'url' => '/api/v1/ostatus/link/{local}/{account}', 'verb' => 'GET'], + // OAuth + ['name' => 'ActivityStream#apps', 'url' => '/api/v1/apps', 'verb' => 'POST'], + ['name' => 'ActivityStream#authorize', 'url' => '/oauth/authorize', 'verb' => 'GET'], + ['name' => 'ActivityStream#token', 'url' => '/oauth/token', 'verb' => 'POST'], + ['name' => 'ActivityStream#appsCredentials', 'url' => '/api/v1/apps/verify_credentials', 'verb' => 'GET'], + ['name' => 'ActivityStream#accountsCredentials', 'url' => '/api/v1/accounts/verify_credentials', 'verb' => 'GET'], + + // New Local + ['name' => 'ActivityStream#timelines', 'url' => '/api/v1/timelines/{timeline}/', 'verb' => 'GET'], + + ['name' => 'Local#streamHome', 'url' => '/api/v1/stream/home', 'verb' => 'GET'], ['name' => 'Local#streamNotifications', 'url' => '/api/v1/stream/notifications', 'verb' => 'GET'], ['name' => 'Local#streamTimeline', 'url' => '/api/v1/stream/timeline', 'verb' => 'GET'], |