summaryrefslogtreecommitdiff
path: root/data/mhub
diff options
context:
space:
mode:
Diffstat (limited to 'data/mhub')
-rw-r--r--data/mhub/2017-08-25/api-docs.php525
1 files changed, 151 insertions, 374 deletions
diff --git a/data/mhub/2017-08-25/api-docs.php b/data/mhub/2017-08-25/api-docs.php
index ee6928c..ad7e1da 100644
--- a/data/mhub/2017-08-25/api-docs.php
+++ b/data/mhub/2017-08-25/api-docs.php
@@ -1,49 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Mhub',
- 'version' => '2017-08-25',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Mhub', 'version' => '2017-08-25'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'OpenEmasService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- [
- 'APP' => [],
- ],
- [
- 'PrivateKey' => [],
- ],
- [
- 'BearerToken' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [],
- ],
'CreateApp' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -53,71 +17,64 @@
[
'name' => 'ProductId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'BundleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PackageName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EncodedIcon',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IndustryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteApp' => [
- 'methods' => [
- 'post',
- 'get',
+ 'CreateProduct' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DeleteApp' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -127,88 +84,81 @@
[
'name' => 'AppKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyApp' => [
- 'methods' => [
- 'post',
- 'get',
+ 'DeleteProduct' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'ProductId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DescribeDashboard' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'AppKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'AppType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'BundleId',
+ 'name' => 'AppVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PackageName',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EncodedIcon',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'IndustryId',
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'ProxyAction',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListApps' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -219,75 +169,28 @@
[
'name' => 'ProductId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OsType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '2',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '2'],
],
],
],
- 'QueryAppInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'AppKey',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DescribeDashboard' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProducts' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -296,83 +199,45 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServiceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'AppKey',
+ 'name' => 'Offset',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'AppType',
+ 'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'AppVersion',
+ 'name' => 'Simple',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Keyword',
+ 'name' => 'ProductName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'SearchKeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'ProxyAction',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'QueryAppSecurityInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyApp' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -382,80 +247,38 @@
[
'name' => 'AppKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'CreateProduct' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'BundleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'PackageName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteProduct' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EncodedIcon',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'ProductId',
+ 'name' => 'IndustryId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'ModifyProduct' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -465,116 +288,76 @@
[
'name' => 'ProductId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListProducts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'OpenEmasService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Offset',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'APP' => [],
],
[
- 'name' => 'Size',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'PrivateKey' => [],
],
[
- 'name' => 'Simple',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'BearerToken' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'QueryAppInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ProductName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'SearchKeyWord',
+ 'name' => 'AppKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'QueryAppSecurityInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNum',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'AppKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryProductInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -584,18 +367,12 @@
[
'name' => 'ProductId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'mhub.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mhub.cn-shanghai.aliyuncs.com', 'endpoint' => 'mhub.cn-shanghai.aliyuncs.com', 'vpc' => 'mhub-intl-vpc.cn-shanghai.aliyuncs.com'],
],
];