# 功能描述
父任务查询子任务的接口
# 请求
# 请求示例
get /job/children/list
# 请求参数
字段 | 类型 | 描述 | 必填 |
---|---|---|---|
uuid | String | 父任务的uuid | 否 |
# 响应
# 响应头
此接口无特殊响应头。
# 响应体
{
"code": 0,
"msg": "success",
"data": [
{
"id": 31434,
"uuid": "5fd2fe12aaa54fdf9e0b9e8eb1e904c3",
"type": 1,
"executeState": "FINISH",
"instanceId": "wslhost.com",
"executeResultCode": 0,
"executeResultMsg": "success",
"initDate": 1656405079000,
"startDate": 1656405080000,
"finishDate": 1656405080000,
"taskProgress": 100,
"taskName": "test_id reverse",
"hasChildren": false
},
{
"id": 31435,
"uuid": "b7b171cb7b9d4b7b80d13e67856a1b96",
"type": 1,
"executeState": "FINISH",
"instanceId": "wslhost.com",
"executeResultCode": 0,
"executeResultMsg": "success",
"initDate": 1656405079000,
"startDate": 1656405081000,
"finishDate": 1656405081000,
"taskProgress": 100,
"taskName": "test_id reverse",
"hasChildren": false
}
]
}
字段 | 类型 | 描述 | 必填 |
---|---|---|---|
type | int | 0 转码 1 合成 3 转项目 4 音频对齐 5 分词 6 拆条 7 安装特效包 9 标签识别 | 是 |
taskName | String | 任务的名字 | 否 |
executeState | String | 任务状态 WAIT, 等待 WAIT_CHILD, 等待子任务完成 WORK, 工作 FINISH, 完成 CANCEL, 取消 | 是 |
instanceId | String | 执行任务的服务器的Id | 否 |
executeResultCode | int | 执行的结果 0 成功 1 失败 | 否 |
taskProgress | int | 任务进度 | 否 |
initDate | long | 创建任务的时间戳 | 是 |
startDate | long | 任务开始的时间戳 | 否 |
finishDate | long | 任务结束的时间戳 | 否 |
hasChildren | boolean | 是否包含子任务 | 是 |