From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/nls-cloud-meta/2018-05-18/api-docs.php | 87 +++----------- data/zh_cn/nls-cloud-meta/2019-02-28/api-docs.php | 134 ++++++++++------------ 2 files changed, 73 insertions(+), 148 deletions(-) (limited to 'data/zh_cn/nls-cloud-meta') diff --git a/data/zh_cn/nls-cloud-meta/2018-05-18/api-docs.php b/data/zh_cn/nls-cloud-meta/2018-05-18/api-docs.php index b3a1712..9adaad8 100644 --- a/data/zh_cn/nls-cloud-meta/2018-05-18/api-docs.php +++ b/data/zh_cn/nls-cloud-meta/2018-05-18/api-docs.php @@ -1,18 +1,12 @@ '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' => '请求ID。', - 'type' => 'string', - 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****', - ], - 'ErrMsg' => [ - 'description' => '失败响应的错误信息。', - 'type' => 'string', - 'example' => 'Specified access key is not found.', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****'], + 'ErrMsg' => ['description' => '失败响应的错误信息。', 'type' => 'string', 'example' => 'Specified access key is not found.'], 'Token' => [ 'description' => 'Token对象。', 'type' => 'object', 'properties' => [ - 'ExpireTime' => [ - 'description' => 'Token的有效期时间戳。单位:秒。例如1553825814换算为北京时间为:2019/3/29 10:16:54,即Token在该时间之前有效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1553825814', - ], - 'UserId' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Id' => [ - 'description' => '请求分配的Token值。', - 'type' => 'string', - 'example' => 'fb1c4648a61b426589dab0fe90d1****', - ], + 'ExpireTime' => ['description' => 'Token的有效期时间戳。单位:秒。例如1553825814换算为北京时间为:2019/3/29 10:16:54,即Token在该时间之前有效。', 'type' => 'integer', 'format' => 'int64', 'example' => '1553825814'], + 'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'xxx'], + 'Id' => ['description' => '请求分配的Token值。', 'type' => 'string', 'example' => 'fb1c4648a61b426589dab0fe90d1****'], ], ], - 'NlsRequestId' => [ - 'description' => '语音内部请求ID。', - 'type' => 'string', - 'example' => 'dd05a301b40441c99a2671905325****', - ], - 'ErrCode' => [ - 'description' => '失败响应的错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50000000', - ], + 'NlsRequestId' => ['description' => '语音内部请求ID。', 'type' => 'string', 'example' => 'dd05a301b40441c99a2671905325****'], + 'ErrCode' => ['description' => '失败响应的错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '50000000'], ], ], ], @@ -107,17 +59,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/zh_cn/nls-cloud-meta/2019-02-28/api-docs.php b/data/zh_cn/nls-cloud-meta/2019-02-28/api-docs.php index 273ca40..3635eec 100644 --- a/data/zh_cn/nls-cloud-meta/2019-02-28/api-docs.php +++ b/data/zh_cn/nls-cloud-meta/2019-02-28/api-docs.php @@ -1,18 +1,12 @@ '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' => '获取token', + 'children' => ['CreateToken'], 'type' => 'directory', - 'children' => [ - 'CreateToken', - ], + 'title' => '获取token', + 'id' => 12350, ], ], 'components' => [ @@ -20,15 +14,8 @@ ], 'apis' => [ 'CreateToken' => [ - 'summary' => '获取智能语音交互的token。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -40,14 +27,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnlsQCJJW7', - 'FEATUREnls1MXGI2', - 'FEATUREnlsJNB1FR', - 'FEATUREnlsLCZB9H', - 'FEATUREnls3WJ7BI', - 'FEATUREnlsJSWKDV', - ], + 'abilityTreeNodes' => ['FEATUREnlsQCJJW7', 'FEATUREnls1MXGI2', 'FEATUREnlsJNB1FR', 'FEATUREnls3WJ7BI', 'FEATUREnlsLCZB9H', 'FEATUREnlsJSWKDV'], ], 'parameters' => [], 'responses' => [ @@ -55,70 +35,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****', - ], - 'ErrMsg' => [ - 'description' => '失败响应的错误信息。', - 'type' => 'string', - 'example' => 'Specified access key is not found.', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****'], + 'ErrMsg' => ['description' => '失败响应的错误信息。', 'type' => 'string', 'example' => 'Specified access key is not found.'], 'Token' => [ 'description' => 'Token对象。', 'type' => 'object', 'properties' => [ - 'ExpireTime' => [ - 'description' => 'Token的有效期时间戳。单位:秒。例如1553825814换算为北京时间为:2019/3/29 10:16:54,即Token在该时间之前有效。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1553825814', - ], - 'UserId' => [ - 'description' => '阿里云账号ID。', - 'type' => 'string', - 'example' => '107992689699****', - ], - 'Id' => [ - 'description' => '请求分配的Token值。', - 'type' => 'string', - 'example' => 'fb1c4648a61b426589dab0fe90d1****', - ], + 'ExpireTime' => ['description' => 'Token的有效期时间戳。单位:秒。例如1553825814换算为北京时间为:2019/3/29 10:16:54,即Token在该时间之前有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '1553825814'], + 'UserId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '107992689699****'], + 'Id' => ['description' => '请求分配的Token值。', 'type' => 'string', 'example' => 'fb1c4648a61b426589dab0fe90d1****'], ], ], - 'NlsRequestId' => [ - 'description' => '语音内部请求ID。', - 'type' => 'string', - 'example' => 'dd05a301b40441c99a2671905325****', - ], - 'ErrCode' => [ - 'description' => '失败响应的错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50000000', - ], + 'NlsRequestId' => ['description' => '语音内部请求ID。', 'type' => 'string', 'example' => 'dd05a301b40441c99a2671905325****'], + 'ErrCode' => ['description' => '失败响应的错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '50000000'], ], + 'description' => '', ], ], ], '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":"\\n A51587CB-5193-4DB8-9AED-CD4365C2****\\n Specified access key is not found.\\n \\n 1553825814\\n 107992689699****\\n fb1c4648a61b426589dab0fe90d1****\\n \\n dd05a301b40441c99a2671905325****\\n 50000000\\n","errorExample":""}]', 'title' => '获取token', + 'summary' => '获取智能语音交互的token。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nls:CreateToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NLS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + '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":"\\n A51587CB-5193-4DB8-9AED-CD4365C2****\\n Specified access key is not found.\\n \\n 1553825814\\n 107992689699****\\n fb1c4648a61b426589dab0fe90d1****\\n \\n dd05a301b40441c99a2671905325****\\n 50000000\\n","errorExample":""}]', ], ], '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'nls-meta.cn-shanghai.aliyuncs.com ', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com ', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'nls-slp.cn-shanghai.aliyuncs.com', 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'nls-meta.cn-shanghai.aliyuncs.com', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [], + 'changeSet' => [], + 'ram' => [ + 'productCode' => 'NLS', + 'productName' => '智能语音交互', + 'ramCodes' => ['nls'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateToken', + 'description' => '获取token', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nls:CreateToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NLS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3