summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-06 17:16:12 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-04-15 18:27:32 +0200
commit2edf878c9dff5b01cbd7fdac21cf75533706fed0 (patch)
treeff60fed098f4eae5ee8555633f819cb510407e8e /appinfo
parent35dcc53fa6d36a19d227d2b417e841b0f1a3826c (diff)
Check the signaling server connection and show the version in the admin UI
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 530b76d83..fe9eb3504 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -47,6 +47,15 @@ return [
],
],
[
+ 'name' => 'Signaling#getWelcomeMessage',
+ 'url' => '/api/{apiVersion}/signaling/welcome/{serverId}',
+ 'verb' => 'GET',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'serverId' => '^\d+$',
+ ],
+ ],
+ [
'name' => 'Signaling#backend',
'url' => '/api/{apiVersion}/signaling/backend',
'verb' => 'POST',