机器翻译
参数 | 类型 | 是否必填 | 示例值 | 描述 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
Action | String | 是 | VideoProjectBatchUploadForSubtasksV2 | 调用的接口名称,固定为:VideoProjectBatchUploadForSubtasksV2 |
Version | String | 是 | 2021-05-21 | API 版本号,固定为:2021-05-21 |
projectId | String | 是 | | 项目 id,创建任务的所属项目 |
list | Array of MaterialReuploadItem | 是 | { "taskId": "1234", "subtaskId": "1234", "materialReportId": "1234", "resourceType": 1, "originVideo": {}, "videosPure": {}, "sourceSubtitleFile": {}, "targetSubtitleFile": {}, "sourceEffectSubtitleFile": {}, "targetEffectSubtitleFile": {} } | 待重传素材列表, 至少 1 项 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
taskId | String | 是 | 1234 | 任务id |
subtaskId | String | 是 | 1234 | 每一集的子任务id |
materialReportId | String | 是 | 1234 | 素材检查错误id |
resourceType | Integer | 是 | 1 | 异常素材类型: 1 原视频, 2 纯净视频, 3 原文对话字幕, 4 译文对话字幕, 6 原文画面字幕, 7 译文画面字幕 |
originVideo | MaterialReplacementVideo | 否 | { "vid": "v1234", "videoUrl": "https://xxxx.xxx", "videoName": "原视频.mp4" } | resourceType=1 时提供的新原视频
|
videosPure | MaterialReplacementVideo | 否 | 同上 | resourceType=2 时提供的新纯净视频 同上 |
sourceSubtitleFile | MaterialReplacementSubtitle | 否 | { "subtitleId": "v1234", "fileUrl": "https://xxxx.xxx", "fileName": "纯净视频.mp4", "fileType": 1, "effectType": 1, "arrangement": 0, "subtitleLang": 1 } | resourceType=3 时提供的新原文对话字幕
|
targetSubtitleFile | MaterialReplacementSubtitle | 否 | 同上 | resourceType=4 时提供的新译文对话字幕 同上 |
sourceEffectSubtitleFile | MaterialReplacementSubtitle | 否 | 同上 | resourceType=6 时提供的新原文画面字幕 同上 |
targetEffectSubtitleFile | MaterialReplacementSubtitle | 否 | 同上 | resourceType=7 时提供的新译文画面字幕 同上 |
参数 | 类型 | 示例值 | 描述 |
参数 | 类型 | 示例值 | 描述 |
data | | { hasMaterialIssues?: boolean; materialIssues?: [{ reportId?: string; projectId?: string; taskId?: string; subtaskId?: string; episodeNum?: string; startTime?: string; endTime?: string; inspectionType?: Integer; inspectionLevel?: Integer; subInspectionType?: Integer; videoName?: string; reason?: string; reasonCode?: string; resourceType?: Integer; resourceId?: string; }] }; } | 创建任务的返回结果
|
参数 | 类型 | 示例值 | 描述 |
参数 | 类型 | 示例值 | 描述 |
Error.Code | String | 1001 | |
Error.Message | String | | |