X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Froutes.config.php;h=f2a64154827dadd2d8a334a0cd36de3867346a0b;hb=e555ea6aadaaaa178f108b313b728a7b6144b42f;hp=d7c1ee6e59519ff3dfea065c03d3d2986079348c;hpb=f34b7b91fa42784f40cbbeef2fad6fa5e51d901c;p=friendica.git diff --git a/static/routes.config.php b/static/routes.config.php index d7c1ee6e59..f2a6415482 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -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]],