'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'alimt', 'version' => '2018-10-12', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'TranslateGeneral' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Context', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'Translate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'maxLength' => 256000, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Context', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'TranslateECommerce' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => true, 'parameters' => [ [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Context', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetBatchTranslate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ApiType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CreateAsyncTranslate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ApiType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetAsyncTranslate' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetDetectLanguage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'TranslateImage' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUrl', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ImageBase64', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Field', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Ext', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'TranslateImageBatch' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUrls', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Ext', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CustomTaskId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Field', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTranslateImageBatchResult' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CreateDocTranslateTask' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'FileUrl', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CallbackUrl', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetDocTranslateTask' => [ 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'TranslateCertificate' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageUrl', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CertificateType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ResultType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetImageTranslate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Url', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateImageTranslateTask' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'UrlList', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetImageTranslateTask' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetImageDiagnose' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Url', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTitleDiagnose' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Title', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Language', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Platform', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTitleGenerate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Title', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Language', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Platform', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'HotWords', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Attributes', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTitleIntelligence' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Platform', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Extra', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CatLevelThreeId', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '99999999999', ], ], [ 'name' => 'CatLevelTwoId', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '99999999999', ], ], [ 'name' => 'Keywords', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'OpenAlimtService' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], [ 'PrivateKey' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetTranslateReport' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'BeginTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ApiName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Group', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'TranslateSearch' => [ 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FormatType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'TargetLanguage', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SourceText', 'in' => 'formData', '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', ], ], ];