diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-04 15:40:41 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-08 13:56:20 +0300 |
commit | 3fed42b4784e808730cde1c062fcd9112e44a4e2 (patch) | |
tree | 1e61021117e20fe18bd8e790c79ffcb3ca740001 /appinfo | |
parent | 7eaafce5b0ccca9aed108466be2a94e0004af748 (diff) |
Move call API to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index e9d46d015..c3da980a8 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -109,7 +109,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'GET', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -118,7 +118,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'POST', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], @@ -127,7 +127,7 @@ return [ 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'DELETE', 'requirements' => [ - 'apiVersion' => 'v(1|2|3)', + 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', ], ], |