'1.0', 'info' => ['style' => 'RPC', 'product' => 'alimt', 'version' => '2018-10-12'], 'components' => [ 'schemas' => [], ], 'apis' => [ '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], ], ], ], '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], ], ], ], '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], ], ], ], 'GetAsyncTranslate' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], '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], ], ], ], 'GetDetectLanguage' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'SourceText', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetDocTranslateTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', '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], ], ], ], '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], ], ], ], 'GetImageTranslateTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], '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], ], ], ], 'GetTranslateImageBatchResult' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], '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], ], ], ], 'OpenAlimtService' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], [ 'PrivateKey' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Type', '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], ], ], ], '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], ], ], ], '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], ], ], ], '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], ], ], ], '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], ], ], ], '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' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.ap-southeast-1.aliyuncs.com', 'endpoint' => 'mt.ap-southeast-1.aliyuncs.com', 'vpc' => 'mt-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => 'mt-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.cn-hangzhou.aliyuncs.com', 'endpoint' => 'mt.cn-hangzhou.aliyuncs.com', 'vpc' => 'mt-inner.vpc-proxy.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => 'mt-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => 'mt-inner.vpc-proxy.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'alimt.me-east-1.aliyuncs.com', 'endpoint' => 'alimt.me-east-1.aliyuncs.com', 'vpc' => ''], ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'mt.me-central-1.aliyuncs.com', 'endpoint' => 'mt.me-central-1.aliyuncs.com', 'vpc' => 'mt-vpc.me-central-1.aliyuncs.com'], ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'mt.aliyuncs.com', 'endpoint' => 'mt.aliyuncs.com', 'vpc' => ''], ], ];