diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-28 14:29:55 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-30 10:38:52 +0100 |
commit | b0b6cb952487f731ad6ebe82dfeb75fbb37c0303 (patch) | |
tree | db99e8bd7ed0d6f428fca5704763251b293cece2 /appinfo/routes.php | |
parent | 4504cb6332f25b4ce7f451469b19cdeee889931b (diff) |
Add API v3 with actor type and id
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 97fe70b98..11f77f378 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -180,7 +180,7 @@ return [ 'url' => '/api/{apiVersion}/room', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', ], ], [ @@ -188,7 +188,7 @@ return [ 'url' => '/api/{apiVersion}/room', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', ], ], [ @@ -196,7 +196,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -205,7 +205,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -214,7 +214,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -223,7 +223,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/public', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -232,7 +232,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/public', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -241,7 +241,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/read-only', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -250,7 +250,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/password', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -259,7 +259,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -268,7 +268,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -277,7 +277,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -286,7 +286,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants/self', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -295,7 +295,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants/guests', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -304,7 +304,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants/active', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -313,7 +313,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/participants/active', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -322,7 +322,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/moderators', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -331,7 +331,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/moderators', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -340,7 +340,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/favorite', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -349,7 +349,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/favorite', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -358,7 +358,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/pin/{pin}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v2', + 'apiVersion' => 'v(2|3)', // FIXME v3 only? 'token' => '^[a-z0-9]{4,30}$', 'pin' => '^\d{7,32}$', ], @@ -368,7 +368,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/notify', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2|3)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -508,7 +508,7 @@ return [ 'url' => '/api/{apiVersion}/room/{token}/{webinar}/sip', 'verb' => 'PUT', 'requirements' => [ - 'apiVersion' => 'v(1|2)', + 'apiVersion' => 'v(1|2)',// FIXME v2 only? 'webinar' => 'webinary?', 'token' => '^[a-z0-9]{4,30}$', ], |