]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Test the license check
[friendica.git] / static / routes.config.php
index d7c1ee6e59519ff3dfea065c03d3d2986079348c..f2a64154827dadd2d8a334a0cd36de3867346a0b 100644 (file)
@@ -244,7 +244,7 @@ return [
                        '/notifications/{id:\d+}'            => [Module\Api\Mastodon\Notifications::class,            [R::GET         ]],
                        '/notifications/clear'               => [Module\Api\Mastodon\Notifications\Clear::class,      [        R::POST]],
                        '/notifications/{id:\d+}/dismiss'    => [Module\Api\Mastodon\Notifications\Dismiss::class,    [        R::POST]],
-                       '/polls/{id:\d+}'                    => [Module\Api\Mastodon\Unimplemented::class,            [R::GET         ]], // not supported
+                       '/polls/{id:\d+}'                    => [Module\Api\Mastodon\Polls::class,                    [R::GET         ]], // not supported
                        '/polls/{id:\d+}/votes'              => [Module\Api\Mastodon\Unimplemented::class,            [        R::POST]], // not supported
                        '/preferences'                       => [Module\Api\Mastodon\Preferences::class,              [R::GET         ]],
                        '/push/subscription'                 => [Module\Api\Mastodon\PushSubscription::class,         [R::GET, R::POST, R::PUT, R::DELETE]],
@@ -544,6 +544,11 @@ return [
        ],
 
        '/settings' => [
+               '[/]'         => [Module\Settings\Account::class,               [R::GET, R::POST]],
+               '/account' => [
+                       '[/]'     => [Module\Settings\Account::class,               [R::GET, R::POST]],
+                       '/{open}' => [Module\Settings\Account::class,               [R::GET, R::POST]],
+               ],
                '/2fa' => [
                        '[/]'           => [Module\Settings\TwoFactor\Index::class,       [R::GET, R::POST]],
                        '/recovery'     => [Module\Settings\TwoFactor\Recovery::class,    [R::GET, R::POST]],