summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-08-24 11:13:40 +0200
committerJoas Schilling <coding@schilljs.com>2020-08-25 08:47:08 +0200
commit6d0b2c86b730cb23863d74d3fd61306d84eb8150 (patch)
tree7197c049aa72f151d12f30e4625dc0011c9d68a2 /appinfo
parent9a94fb30298f287043374c607a7865db65ee119a (diff)
Allow to install the Matterbridge app directly in the Talk settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 9d2cc4160..f8a55bb68 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -400,7 +400,14 @@ return [
'verb' => 'DELETE',
'requirements' => [
'apiVersion' => 'v1',
- 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
+ 'name' => 'BridgeSettings#getMatterbridgeVersion',
+ 'url' => '/api/{apiVersion}/bridge/version',
+ 'verb' => 'GET',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
],
],