diff options
Diffstat (limited to 'data/en_us/nls-cloud-meta/2018-05-18/api-docs.php')
| -rw-r--r-- | data/en_us/nls-cloud-meta/2018-05-18/api-docs.php | 87 |
1 files changed, 15 insertions, 72 deletions
diff --git a/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php b/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php index f96fea5..c3512e3 100644 --- a/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php +++ b/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php @@ -1,18 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'nls-cloud-meta', - 'version' => '2018-05-18', - ], + 'info' => ['style' => 'ROA', 'product' => 'nls-cloud-meta', 'version' => '2018-05-18'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'CreateToken', - ], + 'children' => ['CreateToken'], ], ], 'components' => [ @@ -22,13 +16,8 @@ 'CreateToken' => [ 'summary' => '创建Token', 'path' => '/pop/2018-05-18/tokens', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -39,14 +28,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnlsQCJJW7', - 'FEATUREnls1MXGI2', - 'FEATUREnlsJNB1FR', - 'FEATUREnlsLCZB9H', - 'FEATUREnls3WJ7BI', - 'FEATUREnlsJSWKDV', - ], + 'abilityTreeNodes' => ['FEATUREnlsQCJJW7', 'FEATUREnls1MXGI2', 'FEATUREnlsJNB1FR', 'FEATUREnls3WJ7BI', 'FEATUREnlsLCZB9H', 'FEATUREnlsJSWKDV'], ], 'parameters' => [], 'responses' => [ @@ -54,49 +36,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****', - ], - 'ErrMsg' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Specified access key is not found.', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****'], + 'ErrMsg' => ['description' => '', 'type' => 'string', 'example' => 'Specified access key is not found.'], 'Token' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'ExpireTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1553825814', - ], - 'UserId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Id' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fb1c4648a61b426589dab0fe90d1****', - ], + 'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1553825814'], + 'UserId' => ['description' => '', 'type' => 'string', 'example' => 'xxx'], + 'Id' => ['description' => '', 'type' => 'string', 'example' => 'fb1c4648a61b426589dab0fe90d1****'], ], ], - 'NlsRequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dd05a301b40441c99a2671905325****', - ], - 'ErrCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50000000', - ], + 'NlsRequestId' => ['description' => '', 'type' => 'string', 'example' => 'dd05a301b40441c99a2671905325****'], + 'ErrCode' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '50000000'], ], ], ], @@ -106,17 +58,8 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com ', - ], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com '], ], ]; |
