'1.0', 'info' => ['style' => 'RPC', 'product' => 'RealTranslationAgent', 'version' => '2026-06-22'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CancelTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetOriginalFileUrl' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTranslatedFileUrl' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTranslationTasks' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => true, 'maximum' => '100'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OriginalFileName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceLanguage', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetLanguage', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'SubmitTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BaseTaskId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Config', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'SourceLanguage' => ['type' => 'string', 'required' => true], 'TargetLanguage' => ['type' => 'string', 'required' => true], 'Style' => ['type' => 'string', 'required' => false], 'Font' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CustomTerms', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SourceTerm' => ['type' => 'string', 'required' => false], 'TargetTerm' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'UploadTranslationFile' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'File', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'realtranslationagent.aliyuncs.com', 'endpoint' => 'realtranslationagent.aliyuncs.com', 'vpc' => ''], ], ];