From: Michael Date: Sun, 20 Mar 2022 12:06:39 +0000 (+0000) Subject: API: Adds missing route for "conversation/show/id" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85fce09b1afcec03f417baa6fe8db15cb3184a1f;p=friendica.git API: Adds missing route for "conversation/show/id" --- diff --git a/static/routes.config.php b/static/routes.config.php index c08319eb73..cdf3c2ec6f 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -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 ]],