diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-08-11 18:20:01 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-25 09:47:03 +0300 |
commit | e1937efe788924c09da7e0973202b48868e9886a (patch) | |
tree | d66cd9f9a36c19e0d76c038821f4ea38745cba79 /appinfo/routes.php | |
parent | 721f40b5766ee22e1a7c35112ea6e75b2b5a1631 (diff) |
first working state of matterbridge PoC, server side only
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 722d0ed2a..756f008a1 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -362,6 +362,33 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Room#getBridgeOfRoom', + 'url' => '/api/{apiVersion}/room/{token}/bridge', + 'verb' => 'GET', + 'requirements' => [ + 'apiVersion' => 'v(1|2)', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ + 'name' => 'Room#editBridgeOfRoom', + 'url' => '/api/{apiVersion}/room/{token}/bridge', + 'verb' => 'PUT', + 'requirements' => [ + 'apiVersion' => 'v(1|2)', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ + 'name' => 'Room#deleteBridgeOfRoom', + 'url' => '/api/{apiVersion}/room/{token}/bridge', + 'verb' => 'DELETE', + 'requirements' => [ + 'apiVersion' => 'v(1|2)', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], /** |