]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Merge pull request #8812 from tobiasd/2020.06-credits
[friendica.git] / static / routes.config.php
index 85ec6d8bb49bec61f8930f74cccd4a9af52d5bfb..074c1f5710e23a1d869b2873de23299b06a987e7 100644 (file)
@@ -57,6 +57,10 @@ return [
                        '/profile/show'                      => [Module\Api\Friendica\Profile\Show::class , [R::GET         ]],
                        '/events'                            => [Module\Api\Friendica\Events\Index::class , [R::GET         ]],
                ],
+               '/followers/ids'                         => [Module\Api\Twitter\FollowersIds::class   , [R::GET         ]],
+               '/followers/list'                        => [Module\Api\Twitter\FollowersList::class  , [R::GET         ]],
+               '/friends/ids'                           => [Module\Api\Twitter\FriendsIds::class     , [R::GET         ]],
+               '/friends/list'                          => [Module\Api\Twitter\FriendsList::class    , [R::GET         ]],
        ],
 
        '/admin'               => [
@@ -218,7 +222,7 @@ return [
                '/mark/all' => [Module\Notifications\Notification::class, [R::GET]],
                '/{id:\d+}' => [Module\Notifications\Notification::class, [R::GET, R::POST]],
        ],
-       '/objects/{guid}' => [Module\Objects::class, [R::GET]],
+       '/objects/{guid}[/{activity}]' => [Module\Objects::class, [R::GET]],
 
        '/oembed'         => [
                '/b2h'    => [Module\Oembed::class, [R::GET]],