From 85fce09b1afcec03f417baa6fe8db15cb3184a1f Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 20 Mar 2022 12:06:39 +0000 Subject: [PATCH] API: Adds missing route for "conversation/show/id" --- static/routes.config.php | 1 + 1 file changed, 1 insertion(+) 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 ]], -- 2.39.5