From baf28d07b3275a740c3a2971d8aa6b3e4689b918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orelvys=20Garc=C3=ADa=20Guzm=C3=A1n?= Date: Thu, 9 Nov 2023 09:42:51 -0500 Subject: [PATCH] Changed recordingReady endpoint HTTP method to POST, because bbb documentation set when recording for a meeting is ready, it will make a HTTP POST request to the given url. Check bbb documentation. https://docs.bigbluebutton.org/development/api/#recording-ready-callback-url. --- appinfo/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 2b70b37..5f6c4a2 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -17,6 +17,6 @@ return [ ['name' => 'join#index', 'url' => '/b/{token}/{moderatorToken}', 'verb' => 'GET', 'defaults' => ['moderatorToken' => '']], ['name' => 'restriction#user', 'url' => '/restrictions/user', 'verb' => 'GET'], ['name' => 'hook#meetingEnded', 'url' => '/hook/ended/{token}/{mac}', 'verb' => 'GET'], - ['name' => 'hook#recordingReady', 'url' => '/hook/recording/{token}/{mac}', 'verb' => 'GET'], + ['name' => 'hook#recordingReady', 'url' => '/hook/recording/{token}/{mac}', 'verb' => 'POST'], ] ];