summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-30 13:23:13 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-30 16:13:27 +0100
commitae9226c636f876f95408d5f13481a73ab4155061 (patch)
tree15a42dee76bcec80e6a40121b96c0b3ac7c6ba36 /appinfo
parent8078dd8d2741974a23cca9ad3ff66afa492a5f06 (diff)
Expose the dial-in information to clients
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index db43f8257..1e1f22591 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -62,7 +62,7 @@ return [
'url' => '/api/{apiVersion}/signaling/settings',
'verb' => 'GET',
'requirements' => [
- 'apiVersion' => 'v1',
+ 'apiVersion' => 'v(1|2)',
],
],
[
@@ -70,7 +70,7 @@ return [
'url' => '/api/{apiVersion}/signaling/welcome/{serverId}',
'verb' => 'GET',
'requirements' => [
- 'apiVersion' => 'v1',
+ 'apiVersion' => 'v(1|2)',
'serverId' => '^\d+$',
],
],
@@ -79,7 +79,7 @@ return [
'url' => '/api/{apiVersion}/signaling/backend',
'verb' => 'POST',
'requirements' => [
- 'apiVersion' => 'v1',
+ 'apiVersion' => 'v(1|2)',
],
],
[
@@ -87,7 +87,7 @@ return [
'url' => '/api/{apiVersion}/signaling/{token}',
'verb' => 'POST',
'requirements' => [
- 'apiVersion' => 'v1',
+ 'apiVersion' => 'v(1|2)',
'token' => '^[a-z0-9]{4,30}$',
],
],
@@ -96,7 +96,7 @@ return [
'url' => '/api/{apiVersion}/signaling/{token}',
'verb' => 'GET',
'requirements' => [
- 'apiVersion' => 'v1',
+ 'apiVersion' => 'v(1|2)',
'token' => '^[a-z0-9]{4,30}$',
],
],