diff options
Diffstat (limited to 'data/alimt/2018-08-07/api-docs.php')
| -rw-r--r-- | data/alimt/2018-08-07/api-docs.php | 334 |
1 files changed, 67 insertions, 267 deletions
diff --git a/data/alimt/2018-08-07/api-docs.php b/data/alimt/2018-08-07/api-docs.php index 9423833..ef19e57 100644 --- a/data/alimt/2018-08-07/api-docs.php +++ b/data/alimt/2018-08-07/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'alimt', - 'version' => '2018-08-07', - ], + 'info' => ['style' => 'RPC', 'product' => 'alimt', 'version' => '2018-08-07'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'MachineTranslateECommerce' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26,45 +17,28 @@ [ 'name' => 'SourceText', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ContentFormat', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'MachineTranslateGeneral' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -74,254 +48,80 @@ [ 'name' => 'SourceText', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ContentFormat', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], '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', - ], + ['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'], ], ]; |
