diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-04 13:23:17 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-08 11:56:20 +0100 |
commit | 0aedba550316636c6e33e9143c2972cf7f86135a (patch) | |
tree | 71badeee218add51973f5d4efe5613df17a4752a /appinfo/routes.php | |
parent | db7c09ec4ee0945ee258c559e206071b12c9eae7 (diff) |
Move room modifications to API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 83c536bbd..6596abb3a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -232,7 +232,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -250,7 +250,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/public', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -259,7 +259,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/public', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -268,7 +268,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/description', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v3', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -277,7 +277,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/read-only', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -295,7 +295,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/password', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], |