summaryrefslogtreecommitdiff
path: root/data/en_us/nls-cloud-meta
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/nls-cloud-meta')
-rw-r--r--data/en_us/nls-cloud-meta/2018-05-18/api-docs.php87
-rw-r--r--data/en_us/nls-cloud-meta/2019-02-28/api-docs.php140
2 files changed, 78 insertions, 149 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 '],
],
];
diff --git a/data/en_us/nls-cloud-meta/2019-02-28/api-docs.php b/data/en_us/nls-cloud-meta/2019-02-28/api-docs.php
index eac3613..3a14f3e 100644
--- a/data/en_us/nls-cloud-meta/2019-02-28/api-docs.php
+++ b/data/en_us/nls-cloud-meta/2019-02-28/api-docs.php
@@ -1,18 +1,11 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'nls-cloud-meta',
- 'version' => '2019-02-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'nls-cloud-meta', 'version' => '2019-02-28'],
'directories' => [
[
- 'id' => 130955,
- 'title' => null,
+ 'children' => ['CreateToken'],
'type' => 'directory',
- 'children' => [
- 'CreateToken',
- ],
+ 'title' => 'Obtain a token',
],
],
'components' => [
@@ -20,15 +13,8 @@
],
'apis' => [
'CreateToken' => [
- 'summary' => '创建鉴权Token',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -40,14 +26,7 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREnlsQCJJW7',
- 'FEATUREnls1MXGI2',
- 'FEATUREnlsJNB1FR',
- 'FEATUREnlsLCZB9H',
- 'FEATUREnls3WJ7BI',
- 'FEATUREnlsJSWKDV',
- ],
+ 'abilityTreeNodes' => ['FEATUREnlsQCJJW7', 'FEATUREnls1MXGI2', 'FEATUREnlsJNB1FR', 'FEATUREnls3WJ7BI', 'FEATUREnlsLCZB9H', 'FEATUREnlsJSWKDV'],
],
'parameters' => [],
'responses' => [
@@ -55,69 +34,76 @@
'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' => 'The request ID.', 'type' => 'string', 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****', 'title' => ''],
+ 'ErrMsg' => ['description' => 'The error message for a failed response.', 'type' => 'string', 'example' => 'Specified access key is not found.', 'title' => ''],
'Token' => [
- 'description' => '',
+ 'description' => 'The Token object.',
'type' => 'object',
'properties' => [
- 'ExpireTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1553825814',
- ],
- 'UserId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '107992689699****',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'fb1c4648a61b426589dab0fe90d1****',
- ],
+ 'ExpireTime' => ['description' => 'The expiration timestamp of the token. Unit: seconds. For example, 1553825814 converts to 2019/3/29 10:16:54 (UTC+8), which means the token is valid before that time.', 'type' => 'integer', 'format' => 'int32', 'example' => '1553825814', 'title' => ''],
+ 'UserId' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'string', 'example' => '107992689699****', 'title' => ''],
+ 'Id' => ['description' => 'The token value assigned by the request.', 'type' => 'string', 'example' => 'fb1c4648a61b426589dab0fe90d1****', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'NlsRequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'dd05a301b40441c99a2671905325****',
- ],
- 'ErrCode' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50000000',
- ],
+ 'NlsRequestId' => ['description' => 'The internal request ID for speech services.', 'type' => 'string', 'example' => 'dd05a301b40441c99a2671905325****', 'title' => ''],
+ 'ErrCode' => ['description' => 'The error code for a failed response.', 'type' => 'integer', 'format' => 'int32', 'example' => '50000000', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A51587CB-5193-4DB8-9AED-CD4365C2****\\",\\n \\"ErrMsg\\": \\"Specified access key is not found.\\",\\n \\"Token\\": {\\n \\"ExpireTime\\": 1553825814,\\n \\"UserId\\": \\"107992689699****\\",\\n \\"Id\\": \\"fb1c4648a61b426589dab0fe90d1****\\"\\n },\\n \\"NlsRequestId\\": \\"dd05a301b40441c99a2671905325****\\",\\n \\"ErrCode\\": 50000000\\n}","errorExample":""},{"type":"xml","example":"<CreateTokenResponse>\\n <RequestId>A51587CB-5193-4DB8-9AED-CD4365C2****</RequestId>\\n <ErrMsg>Specified access key is not found.</ErrMsg>\\n <Token>\\n <ExpireTime>1553825814</ExpireTime>\\n <UserId>107992689699****</UserId>\\n <Id>fb1c4648a61b426589dab0fe90d1****</Id>\\n </Token>\\n <NlsRequestId>dd05a301b40441c99a2671905325****</NlsRequestId>\\n <ErrCode>50000000</ErrCode>\\n</CreateTokenResponse>","errorExample":""}]',
+ 'title' => 'Obtain a token',
+ 'summary' => 'Obtains a token for intelligent interactive voice response.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'nls:CreateToken',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'NLS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A51587CB-5193-4DB8-9AED-CD4365C2****\\",\\n \\"ErrMsg\\": \\"Specified access key is not found.\\",\\n \\"Token\\": {\\n \\"ExpireTime\\": 1553825814,\\n \\"UserId\\": \\"107992689699****\\",\\n \\"Id\\": \\"fb1c4648a61b426589dab0fe90d1****\\"\\n },\\n \\"NlsRequestId\\": \\"dd05a301b40441c99a2671905325****\\",\\n \\"ErrCode\\": 50000000\\n}","type":"json"}]',
],
],
'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' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'nls-meta.cn-shanghai.aliyuncs.com ', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com ', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'nls-slp.cn-shanghai.aliyuncs.com', 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'nls-meta.cn-shanghai.aliyuncs.com', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com', 'vpc' => 'nls-cloud-meta-vpc.cn-shanghai.aliyuncs.com'],
+ ],
+ 'errorCodes' => [],
+ 'changeSet' => [],
+ 'ram' => [
+ 'productCode' => 'NLS',
+ 'productName' => 'Intelligent Speech Interaction',
+ 'ramCodes' => ['nls'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'CreateToken',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'nls:CreateToken',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'NLS', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'resourceTypes' => [],
],
];