diff options
Diffstat (limited to 'data/safconsole/2021-01-12/api-docs.php')
| -rw-r--r-- | data/safconsole/2021-01-12/api-docs.php | 96 |
1 files changed, 19 insertions, 77 deletions
diff --git a/data/safconsole/2021-01-12/api-docs.php b/data/safconsole/2021-01-12/api-docs.php index b4f0daa..eba7c88 100644 --- a/data/safconsole/2021-01-12/api-docs.php +++ b/data/safconsole/2021-01-12/api-docs.php @@ -1,23 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'safconsole', - 'version' => '2021-01-12', - ], + 'info' => ['style' => 'RPC', 'product' => 'safconsole', 'version' => '2021-01-12'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'RevokeFeedback' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28,30 +18,18 @@ [ 'name' => 'SampleType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Value', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'SendFeedback' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -62,46 +40,28 @@ [ 'name' => 'SampleType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RiskLabel', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Reason', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UploadSampleApi' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -111,46 +71,28 @@ [ 'name' => 'SampleType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DataType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Service', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DataValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'safconsole.cn-hangzhou.aliyuncs.com', 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com', 'vpc' => 'safconsole-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'safconsole.cn-shanghai.aliyuncs.com', 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com', 'vpc' => 'safconsole-vpc.cn-shanghai.aliyuncs.com'], ], ]; |
