diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-08-17 19:35:40 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-25 09:47:06 +0300 |
commit | 8b1d5fab9a50862b54629dcd72c653170af35c23 (patch) | |
tree | ea3616c5cd58e1692850c14d2c54f07c9f2628a7 /appinfo | |
parent | b55060453d60dfcc70f216edf120e971f5ead0d1 (diff) |
fix after first review
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 756f008a1..686829c4a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -362,30 +362,35 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + + + /** + * Bridges + */ [ - 'name' => 'Room#getBridgeOfRoom', + 'name' => 'Bridge#getBridgeOfRoom', 'url' => '/api/{apiVersion}/room/{token}/bridge', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v1', 'token' => '^[a-z0-9]{4,30}$', ], ], [ - 'name' => 'Room#editBridgeOfRoom', + 'name' => 'Bridge#editBridgeOfRoom', 'url' => '/api/{apiVersion}/room/{token}/bridge', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v1', 'token' => '^[a-z0-9]{4,30}$', ], ], [ - 'name' => 'Room#deleteBridgeOfRoom', + 'name' => 'Bridge#deleteBridgeOfRoom', 'url' => '/api/{apiVersion}/room/{token}/bridge', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v1', 'token' => '^[a-z0-9]{4,30}$', ], ], |