summaryrefslogtreecommitdiff
path: root/data/opt/2021-07-30
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/opt/2021-07-30
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/opt/2021-07-30')
-rw-r--r--data/opt/2021-07-30/api-docs.php80
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'],
],
];