GET /workflowexecution HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml
参数名称(关键字) | 描述 | 类型 | 是否必选 |
workflowId | 工作流 ID | String | 是 |
name | 文件名称 | String | 否 |
orderByTime | Desc 或者 Asc。默认为 Desc | String | 否 |
size | 拉取的最大任务数。默认为10。最大为100 | String | 否 |
states | 工作流实例状态,以 , 分割支持多状态All,Success,Failed,Running,Cancel。默认为 All | String | 否 |
startCreationTime | 拉取创建时间大于等于该时间。格式为: %Y-%m-%dT%H:%m:%S%z | String | 否 |
endCreationTime | 拉取创建时间小于等于该时间。格式为: %Y-%m-%dT%H:%m:%S%z | String | 否 |
nextToken | 请求的上下文,用于翻页。下一页输入 token | String | 否 |
jobId | 批量触发工作流任务 ID,用于扫描出批量触发任务 ID 对应执行的工作流实例 | String | 否 |
<Response><RequestId>NjJmMjEyMmFfZWM0YTYyNjRfN2U2NV8yNmI0</RequestId><WorkflowExecutionList><RunId>i166ee19017b011eda8a5525400c540df</RunId><WorkflowId>web6ac56c1ef54dbfa44d7f4103203be9</WorkflowId><Object>wk-test/game.mp4</Object><CreateTime>2022-08-09T14:54:17+08:00</CreateTime><State>Success</State></WorkflowExecutionList><WorkflowExecutionList><RunId>i769bd26517af11ed917f525400a3c59f</RunId><WorkflowId>web6ac56c1ef54dbfa44d7f4103203be9</WorkflowId><Object>wk-test/game.mp4</Object><CreateTime>2022-08-09T14:49:49+08:00</CreateTime><State>Success</State></WorkflowExecutionList><NextToken>115716</NextToken></Response>
节点名称(关键字) | 父节点 | 描述 | 类型 |
Response | 无 | 保存结果的容器 | Container |
节点名称(关键字) | 父节点 | 描述 | 类型 |
WorkflowExecutionList | Response | 工作流实例详细信息 | Container |
RequestId | Response | 请求 ID | String |
NextToken | Response | 翻页的上下文 Token | String |
节点名称(关键字) | 父节点 | 描述 | 类型 |
RunId | Response.WorkflowExecutionList | 工作流实例 ID | String |
WorkflowId | Response.WorkflowExecutionList | 工作流 ID | String |
State | Response.WorkflowExecutionList | 工作流实例状态 | String |
CreateTime | Response.WorkflowExecutionList | 创建时间 | String |
Object | Response.WorkflowExecutionList | COS 对象地址 | String |
GET /workflowexecution?workflowId=web6ac56c1ef54dbfa44d7f4103203be9 HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR****&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=28e9a4986df11bed0255e97ff90500557e0e****Host: test-1234567890.ci.ap-chongqing.myqcloud.com
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 666Connection: keep-aliveDate: Thu, 09 Aug 2022 16:23:12 GMTServer: tencent-cix-ci-request-id: NjJmMjEyMmFfZWM0YTYyNjRfN2U2NV8yNmI0<Response><RequestId>NjJmMjEyMmFfZWM0YTYyNjRfN2U2NV8yNmI0</RequestId><WorkflowExecutionList><RunId>i166ee19017b011eda8a5525400c540df</RunId><WorkflowId>web6ac56c1ef54dbfa44d7f4103203be9</WorkflowId><Object>wk-test/game.mp4</Object><CreateTime>2022-08-09T14:54:17+08:00</CreateTime><State>Success</State></WorkflowExecutionList><WorkflowExecutionList><RunId>i769bd26517af11ed917f525400a3c59f</RunId><WorkflowId>web6ac56c1ef54dbfa44d7f4103203be9</WorkflowId><Object>wk-test/game.mp4</Object><CreateTime>2022-08-09T14:49:49+08:00</CreateTime><State>Success</State></WorkflowExecutionList><NextToken>115716</NextToken></Response>
本页内容是否解决了您的问题?