diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/nls-filetrans | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/nls-filetrans')
| -rw-r--r-- | data/en_us/nls-filetrans/2018-08-17/api-docs.php | 319 | ||||
| -rw-r--r-- | data/en_us/nls-filetrans/2019-08-23/api-docs.php | 316 |
2 files changed, 635 insertions, 0 deletions
diff --git a/data/en_us/nls-filetrans/2018-08-17/api-docs.php b/data/en_us/nls-filetrans/2018-08-17/api-docs.php new file mode 100644 index 0000000..516be27 --- /dev/null +++ b/data/en_us/nls-filetrans/2018-08-17/api-docs.php @@ -0,0 +1,319 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'nls-filetrans', + 'version' => '2018-08-17', + ], + 'directories' => [ + [ + 'id' => 208121, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitTask', + 'GetTaskResult', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'SubmitTask' => [ + 'summary' => '提交任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnls90XY1V', + ], + ], + 'parameters' => [ + [ + 'name' => 'Task', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{\\"app_key\\":\\"kOxdqg6xwqvRg8zc\\",\\"file_link\\":\\"https://xxxx-cn.oss-cn-chengdu.aliyuncs.com/2025/5/20/16257504630/xxxxxx.m4a\\"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '45b9130064944a7086a51e30671exxxxx', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9347BDEF-069C-5A8F-8024-XXXXXXXXXX', + ], + 'StatusText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21050000', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"45b9130064944a7086a51e30671exxxxx\\",\\n \\"RequestId\\": \\"9347BDEF-069C-5A8F-8024-XXXXXXXXXX\\",\\n \\"StatusText\\": \\"SUCCESS\\",\\n \\"StatusCode\\": 21050000\\n}","type":"json"}]', + ], + 'GetTaskResult' => [ + 'summary' => '获取任务结果', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnls90XY1V', + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '6391f5f7669642d5992f1f23ecxxxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4321c5c1c9834384b9d3d6a10bxxxxxx', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CA4939D7-5D7B-5B74-AD17-XXXXXXXXXXXX', + ], + 'StatusText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'BizDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '267500', + ], + 'SolveTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21050000', + ], + 'Result' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Words' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'Word' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1180', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + 'Paragraphs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '9800', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Sentences' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4300', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + ], + 'EmotionValue' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7.0', + ], + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SpeechRate' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '98', + ], + 'SpeakerId' => [ + 'description' => '', + 'type' => 'string', + ], + 'SilenceDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + 'RequestTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1735956700661', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"4321c5c1c9834384b9d3d6a10bxxxxxx\\",\\n \\"RequestId\\": \\"CA4939D7-5D7B-5B74-AD17-XXXXXXXXXXXX\\",\\n \\"StatusText\\": \\"SUCCESS\\",\\n \\"BizDuration\\": 267500,\\n \\"SolveTime\\": 12345,\\n \\"StatusCode\\": 21050000,\\n \\"Result\\": {\\n \\"Words\\": [\\n {\\n \\"EndTime\\": 610,\\n \\"Word\\": \\"化学\\",\\n \\"BeginTime\\": 1180,\\n \\"ChannelId\\": 0\\n }\\n ],\\n \\"Paragraphs\\": [\\n {\\n \\"EndTime\\": 9800,\\n \\"BeginTime\\": 610,\\n \\"ChannelId\\": 0,\\n \\"Text\\": \\"化学是一门中学基础学科。从初二开始学习,属于理科功课。\\"\\n }\\n ],\\n \\"Sentences\\": [\\n {\\n \\"EndTime\\": 4300,\\n \\"BeginTime\\": 610,\\n \\"ChannelId\\": 0,\\n \\"EmotionValue\\": 7,\\n \\"Text\\": \\"化学是一门中学基础学科。\\",\\n \\"SpeechRate\\": 98,\\n \\"SpeakerId\\": \\"\\",\\n \\"SilenceDuration\\": 0\\n }\\n ]\\n },\\n \\"RequestTime\\": 1735956700661\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'nls-filetrans.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'nls-filetrans.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'nls-filetrans.cn-shenzhen.aliyuncs.com', + ], + ], +]; diff --git a/data/en_us/nls-filetrans/2019-08-23/api-docs.php b/data/en_us/nls-filetrans/2019-08-23/api-docs.php new file mode 100644 index 0000000..ca82b0a --- /dev/null +++ b/data/en_us/nls-filetrans/2019-08-23/api-docs.php @@ -0,0 +1,316 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'nls-filetrans', + 'version' => '2019-08-23', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'GetTaskResult', + 'SubmitTask', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetTaskResult' => [ + 'summary' => '文件转写国际版', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnls90XY1V', + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '4321c5c1c9834384b9d3d6a10bxxxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4321c5c1c9834384b9d3d6a10bxxxxxx', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CA4939D7-5D7B-5B74-AD17-XXXXXXXXXXXX', + ], + 'StatusText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'BizDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11230', + ], + 'SolveTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21050000', + ], + 'Result' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Words' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'Word' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1180', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + 'Paragraphs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '9800', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Sentences' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4300', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + 'ChannelId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'EmotionValue' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7.0', + ], + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SpeechRate' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '98', + ], + 'SpeakerId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'SilenceDuration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '610', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"4321c5c1c9834384b9d3d6a10bxxxxxx\\",\\n \\"RequestId\\": \\"CA4939D7-5D7B-5B74-AD17-XXXXXXXXXXXX\\",\\n \\"StatusText\\": \\"SUCCESS\\",\\n \\"BizDuration\\": 11230,\\n \\"SolveTime\\": 12345,\\n \\"StatusCode\\": 21050000,\\n \\"Result\\": {\\n \\"Words\\": [\\n {\\n \\"EndTime\\": 610,\\n \\"Word\\": \\"化学\\",\\n \\"BeginTime\\": 1180,\\n \\"ChannelId\\": 0\\n }\\n ],\\n \\"Paragraphs\\": [\\n {\\n \\"EndTime\\": 9800,\\n \\"BeginTime\\": 610,\\n \\"ChannelId\\": 0,\\n \\"Text\\": \\"化学是一门中学基础学科。从初二开始学习,属于理科功课。\\"\\n }\\n ],\\n \\"Sentences\\": [\\n {\\n \\"EndTime\\": 4300,\\n \\"BeginTime\\": 610,\\n \\"ChannelId\\": 0,\\n \\"EmotionValue\\": 7,\\n \\"Text\\": \\"化学是一门中学基础学科。\\",\\n \\"SpeechRate\\": 98,\\n \\"SpeakerId\\": \\"1\\",\\n \\"SilenceDuration\\": 610\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SubmitTask' => [ + 'summary' => '文件转写国际版', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnls90XY1V', + ], + ], + 'parameters' => [ + [ + 'name' => 'Task', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '{"appkey":"xxxxxx","file_link":"https://test.oss-cn-hangzhou.aliyuncs.com/cp/2025-05-20/ww6227ace11382caf7/mp3/xxxxxx.mp3","version":"4.0"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '45b9130064944a7086a51e30671exxxxx', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9347BDEF-069C-5A8F-8024-XXXXXXXXXX', + ], + 'StatusText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESS', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '21050000', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"45b9130064944a7086a51e30671exxxxx\\",\\n \\"RequestId\\": \\"9347BDEF-069C-5A8F-8024-XXXXXXXXXX\\",\\n \\"StatusText\\": \\"SUCCESS\\",\\n \\"StatusCode\\": 21050000\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'nls-filetrans.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'nls-filetrans.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'nls-filetrans.cn-shenzhen.aliyuncs.com', + ], + ], +]; |
