summaryrefslogtreecommitdiff
path: root/data/zh_cn/alimt/2019-01-07/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/alimt/2019-01-07/api-docs.php
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/zh_cn/alimt/2019-01-07/api-docs.php')
-rw-r--r--data/zh_cn/alimt/2019-01-07/api-docs.php612
1 files changed, 612 insertions, 0 deletions
diff --git a/data/zh_cn/alimt/2019-01-07/api-docs.php b/data/zh_cn/alimt/2019-01-07/api-docs.php
new file mode 100644
index 0000000..a61c6a4
--- /dev/null
+++ b/data/zh_cn/alimt/2019-01-07/api-docs.php
@@ -0,0 +1,612 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'alimt',
+ 'version' => '2019-01-07',
+ ],
+ 'directories' => [
+ [
+ 'id' => 22948,
+ 'title' => '翻译',
+ 'type' => 'directory',
+ 'children' => [
+ 'TranslateECommerce',
+ 'TranslateGeneral',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'TranslateECommerce' => [
+ 'summary' => '专业文本翻译',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FormatType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TargetLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SourceLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SourceText',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Translated' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 101 => [
+ [
+ 'errorCode' => '10001',
+ 'errorMessage' => 'The request has timed out.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10002',
+ 'errorMessage' => 'A system error occurred.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10003',
+ 'errorMessage' => 'An error occurred while decoding the URL. Verify that the specified URL is encoded.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10004',
+ 'errorMessage' => 'Some required parameters are missing.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10005',
+ 'errorMessage' => 'The specified language pair is not supported.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10006',
+ 'errorMessage' => 'An error occurred while detecting the language.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10007',
+ 'errorMessage' => 'An error occurred while translating.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10008',
+ 'errorMessage' => 'The specified string is too long.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10009',
+ 'errorMessage' => '子账号没有权限',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10010',
+ 'errorMessage' => '账号没有开通服务',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10011',
+ 'errorMessage' => '子账号服务失败',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10012',
+ 'errorMessage' => '翻译服务调用失败',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10013',
+ 'errorMessage' => '账号服务没有开通或者欠费',
+ ],
+ ],
+ 199 => [
+ [
+ 'errorCode' => '19999',
+ 'errorMessage' => 'An unknown error occurred.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '',
+ ],
+ 'TranslateGeneral' => [
+ 'summary' => '通用文本翻译',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FormatType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SourceLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TargetLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'SourceText',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'default' => 'general',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Translated' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 101 => [
+ [
+ 'errorCode' => '10001',
+ 'errorMessage' => 'The request has timed out.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10002',
+ 'errorMessage' => 'A system error occurred.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10003',
+ 'errorMessage' => 'An error occurred while decoding the URL. Verify that the specified URL is encoded.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10004',
+ 'errorMessage' => 'Some required parameters are missing.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10005',
+ 'errorMessage' => 'The specified language pair is not supported.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10006',
+ 'errorMessage' => 'An error occurred while detecting the language.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10007',
+ 'errorMessage' => 'An error occurred while translating.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10008',
+ 'errorMessage' => 'The specified string is too long.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10009',
+ 'errorMessage' => '子账号没有权限',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10010',
+ 'errorMessage' => '账号没有开通服务',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10011',
+ 'errorMessage' => '子账号服务失败',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10012',
+ 'errorMessage' => '翻译服务调用失败',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '10013',
+ 'errorMessage' => '账号服务没有开通或者欠费',
+ ],
+ ],
+ 199 => [
+ [
+ 'errorCode' => '19999',
+ 'errorMessage' => 'An unknown error occurred.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'me-central-1',
+ 'endpoint' => 'mt.me-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'mt.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'mt.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-2-pop',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-2',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-pop',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-gov-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-nu16-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-edge-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fujian',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-haidian-cm12-c01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-bj-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-prod-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-2',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-3',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-test-306',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong-finance-pop',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao-nebula',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et15-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et2-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-inner',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-internal-test-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-inner',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-st4-d01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-su18-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-yushanfang',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangbei-na61-b01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou-na62-a01',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-nebula-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1-oxs',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'alimt.me-east-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'rus-west-1-pop',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'mt.aliyuncs.com',
+ ],
+ ],
+];