]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Merge pull request #8696 from MrPetovan/bug/8694-event-network-unkn
[friendica.git] / static / routes.config.php
index 489e99f48d1a27cccf4ec0bb048400c6961a8413..9fbe358830ada94a3fdb6663a6215224934cd419 100644 (file)
@@ -55,6 +55,7 @@ return [
                ],
                '/friendica' => [
                        '/profile/show'                      => [Module\Api\Friendica\Profile\Show::class , [R::GET         ]],
+                       '/events'                            => [Module\Api\Friendica\Events\Index::class , [R::GET         ]],
                ],
        ],
 
@@ -102,6 +103,9 @@ return [
        '/attach/{item:\d+}'   => [Module\Attach::class,       [R::GET]],
        '/babel'               => [Module\Debug\Babel::class,  [R::GET, R::POST]],
        '/bookmarklet'         => [Module\Bookmarklet::class,  [R::GET]],
+
+       '/community[/{content}[/{accounttype}]]' => [Module\Conversation\Community::class, [R::GET]],
+
        '/compose[/{type}]'    => [Module\Item\Compose::class, [R::GET, R::POST]],
 
        '/contact'   => [
@@ -113,6 +117,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]],
@@ -213,7 +218,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]],
@@ -269,6 +274,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]],
@@ -288,6 +294,7 @@ return [
        '/toggle_mobile'                 => [Module\ToggleMobile::class,          [R::GET]],
        '/tos'                           => [Module\Tos::class,                   [R::GET]],
 
+       '/update_community[/{content}[/{accounttype}]]' => [Module\Update\Community::class, [R::GET]],
        '/update_profile'                => [Module\Update\Profile::class,        [R::GET]],
 
        '/view/theme/{theme}/style.pcss' => [Module\Theme::class,                 [R::GET]],