From 45c42268190e85a206445164b8986a1f859c9c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 18 May 2021 19:04:39 +0200 Subject: Remove previous versions for signaling endpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mobile apps will need to adjust to the new version (note that only the signaling settings endpoint actually changed), but they will not be compatible with Talk < 12 anyway due to the changes in the conversation endpoints. Signed-off-by: Daniel Calviño Sánchez --- appinfo/routes.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'appinfo') diff --git a/appinfo/routes.php b/appinfo/routes.php index 229a7c7e2..a1c75b8f3 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -62,7 +62,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/settings', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(3)', ], ], [ @@ -70,7 +70,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/welcome/{serverId}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(3)', 'serverId' => '^\d+$', ], ], @@ -79,7 +79,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/backend', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(3)', ], ], [ @@ -87,7 +87,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/{token}', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -96,7 +96,7 @@ return [ 'url' => '/api/{apiVersion}/signaling/{token}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(3)', 'token' => '^[a-z0-9]{4,30}$', ], ], -- cgit v1.2.3