summaryrefslogtreecommitdiff
path: root/data/metaspace/2022-03-07
diff options
context:
space:
mode:
Diffstat (limited to 'data/metaspace/2022-03-07')
-rw-r--r--data/metaspace/2022-03-07/api-docs.php171
1 files changed, 46 insertions, 125 deletions
diff --git a/data/metaspace/2022-03-07/api-docs.php b/data/metaspace/2022-03-07/api-docs.php
index ed0c34b..b63b7de 100644
--- a/data/metaspace/2022-03-07/api-docs.php
+++ b/data/metaspace/2022-03-07/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'metaspace',
- 'version' => '2022-03-07',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'metaspace', 'version' => '2022-03-07'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GenerateCoordinationCode' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ApplyCoordinationWithCode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'Anonymous' => [],
@@ -28,70 +18,33 @@
[
'name' => 'LoginToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SessionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceRegionId',
+ 'name' => 'CoordinationCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceName',
+ 'name' => 'Uuid',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'LoginRegionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ApplyCoordinationWithCode' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'EndAllCoordinationByOwner' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'Anonymous' => [],
@@ -102,54 +55,38 @@
[
'name' => 'LoginToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'LoginRegionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SessionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'CoordinationCode',
+ 'name' => 'ResourceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Uuid',
+ 'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LoginRegionId',
+ 'name' => 'ResourceRegionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'EndAllCoordinationByOwner' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GenerateCoordinationCode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'Anonymous' => [],
@@ -160,58 +97,42 @@
[
'name' => 'LoginToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LoginRegionId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SessionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceRegionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceName',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'LoginRegionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metaspace.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metaspace.aliyuncs.com', 'endpoint' => 'metaspace.aliyuncs.com', 'vpc' => 'metaspace.vpc-proxy.aliyuncs.com'],
],
];