]> 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 d0a1bde76ba8373adf82654e89528b9f5f75486d..074c1f5710e23a1d869b2873de23299b06a987e7 100644 (file)
@@ -55,7 +55,12 @@ return [
                ],
                '/friendica' => [
                        '/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'               => [
@@ -116,6 +121,7 @@ return [
                '/{id:\d+}/conversations' => [Module\Contact::class,           [R::GET]],
                '/{id:\d+}/drop'          => [Module\Contact::class,           [R::GET]],
                '/{id:\d+}/ignore'        => [Module\Contact::class,           [R::GET]],
+               '/{id:\d+}/poke'          => [Module\Contact\Poke::class,      [R::GET, R::POST]],
                '/{id:\d+}/posts'         => [Module\Contact::class,           [R::GET]],
                '/{id:\d+}/update'        => [Module\Contact::class,           [R::GET]],
                '/{id:\d+}/updateprofile' => [Module\Contact::class,           [R::GET]],
@@ -216,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]],
@@ -272,6 +278,7 @@ return [
                        '/verify'       => [Module\Settings\TwoFactor\Verify::class,      [R::GET, R::POST]],
                ],
                '/delegation[/{action}/{user_id}]' => [Module\Settings\Delegation::class,       [R::GET, R::POST]],
+               '/display'                 => [Module\Settings\Display::class,             [R::GET, R::POST]],
                '/profile' => [
                        '[/]'                  => [Module\Settings\Profile\Index::class,       [R::GET, R::POST]],
                        '/photo[/new]'         => [Module\Settings\Profile\Photo\Index::class, [R::GET, R::POST]],