]> git.mxchange.org Git - friendica.git/commitdiff
API: Adds missing route for "conversation/show/id"
authorMichael <heluecht@pirati.ca>
Sun, 20 Mar 2022 12:06:39 +0000 (12:06 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 20 Mar 2022 12:06:39 +0000 (12:06 +0000)
static/routes.config.php

index c08319eb73ec667f368c4aa063bb4c2ce6d81c5c..cdf3c2ec6fa526c99bc30ccea8708f4b5fc20d87 100644 (file)
@@ -51,6 +51,7 @@ $apiRoutes = [
        '/blocks/ids[.{extension:json|xml|rss|atom}]'                  => [Module\Api\Twitter\Blocks\Ids::class,               [R::GET         ]],
        '/blocks/list[.{extension:json|xml|rss|atom}]'                 => [Module\Api\Twitter\Blocks\Lists::class,             [R::GET         ]],
        '/conversation/show[.{extension:json|xml|rss|atom}]'           => [Module\Api\GNUSocial\Statusnet\Conversation::class, [R::GET         ]],
+       '/conversation/show/{id:\d+}[.{extension:json|xml|rss|atom}]'  => [Module\Api\GNUSocial\Statusnet\Conversation::class, [R::GET         ]],
        '/direct_messages' => [
                '/all[.{extension:json|xml|rss|atom}]'                     => [Module\Api\Twitter\DirectMessages\All::class,          [R::GET         ]],
                '/conversation[.{extension:json|xml|rss|atom}]'            => [Module\Api\Twitter\DirectMessages\Conversation::class, [R::GET         ]],