diff options
Diffstat (limited to 'data/opt/2021-07-30/api-docs.php')
| -rw-r--r-- | data/opt/2021-07-30/api-docs.php | 80 |
1 files changed, 16 insertions, 64 deletions
diff --git a/data/opt/2021-07-30/api-docs.php b/data/opt/2021-07-30/api-docs.php index fc4d548..d4c98c5 100644 --- a/data/opt/2021-07-30/api-docs.php +++ b/data/opt/2021-07-30/api-docs.php @@ -1,23 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'opt', - 'version' => '2021-07-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'opt', 'version' => '2021-07-30'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetOpenStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,14 +17,8 @@ 'parameters' => [], ], 'GetOrderInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -45,10 +29,7 @@ [ 'name' => 'RelService', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', @@ -59,30 +40,19 @@ 'required' => true, 'minimum' => '1', 'maximum' => '1', - 'enum' => [ - '1', - ], + 'enum' => ['1'], ], ], [ 'name' => 'ListReleased', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetOrderUsage' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -93,10 +63,7 @@ [ 'name' => 'RelService', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', @@ -107,39 +74,24 @@ 'required' => true, 'minimum' => '1', 'maximum' => '1', - 'enum' => [ - '1', - ], + 'enum' => ['1'], ], ], [ 'name' => 'LicenseKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TimeRange', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'opt.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'opt.us-east-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'opt.cn-beijing.aliyuncs.com', 'endpoint' => 'opt.cn-beijing.aliyuncs.com', 'vpc' => 'opt-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'opt.us-east-1.aliyuncs.com', 'endpoint' => 'opt.us-east-1.aliyuncs.com', 'vpc' => 'opt-vpc.us-east-1.aliyuncs.com'], ], ]; |
