summaryrefslogtreecommitdiff
path: root/data/captcha
diff options
context:
space:
mode:
Diffstat (limited to 'data/captcha')
-rw-r--r--data/captcha/2023-03-05/api-docs.php62
1 files changed, 17 insertions, 45 deletions
diff --git a/data/captcha/2023-03-05/api-docs.php b/data/captcha/2023-03-05/api-docs.php
index 0b737c2..fa99715 100644
--- a/data/captcha/2023-03-05/api-docs.php
+++ b/data/captcha/2023-03-05/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'captcha',
- 'version' => '2023-03-05',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'captcha', 'version' => '2023-03-05'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'VerifyIntelligentCaptcha' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'VerifyCaptcha' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,31 +17,14 @@
'parameters' => [
[
'name' => 'CaptchaVerifyParam',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SceneId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'VerifyCaptcha' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'VerifyIntelligentCaptcha' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -61,19 +34,18 @@
'parameters' => [
[
'name' => 'CaptchaVerifyParam',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SceneId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'captcha.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'captcha.cn-shanghai.aliyuncs.com', 'endpoint' => 'captcha.cn-shanghai.aliyuncs.com', 'vpc' => 'captcha-vpc.cn-shanghai.aliyuncs.com'],
],
];