diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-18 20:04:39 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-19 19:29:56 +0300 |
commit | 45c42268190e85a206445164b8986a1f859c9c03 (patch) | |
tree | 360401f41a712080cca802571a4fc037f873fecc /appinfo | |
parent | 2cb9d9625dcd5c2655fa97769d7e69c6697e112c (diff) |
Remove previous versions for signaling endpoints
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 <danxuliu@gmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 10 |
1 files changed, 5 insertions, 5 deletions
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}$', ], ], |