分页获取指定任务实例的上游任务实例列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Id | long | 是 | 任务实例 ID。 | 1234 |
PageSize | integer | 否 | 每页的条目数,默认为 10。 | 10 |
PageNumber | integer | 否 | 页码,从 1 开始,默认为 1。 | 1 |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
"PagingInfo": {
"TaskInstances": [
{
"TaskId": 1234,
"TaskType": "ODPS_SQL\n",
"TaskName": "SQL节点\n",
"Description": "test",
"WorkflowId": 1234,
"WorkflowName": "Test工作流",
"TriggerType": "Scheduler",
"TriggerRecurrence": "Normal\n",
"WorkflowInstanceId": 1234,
"WorkflowInstanceType": "Normal\n",
"Timeout": 1,
"RerunMode": "AllAllowed\n",
"RunNumber": 1,
"PeriodNumber": 0,
"BaselineId": 1234,
"Priority": 1,
"RuntimeResource": {
"ResourceGroupId": "S_res_group_524258031846018_1684XXXXXXXXX\n",
"Image": "i-xxxxxx\n",
"Cu": "0.25"
},
"Runtime": {
"ProcessId": "T3_123",
"Gateway": "cn-shanghai.1.2"
},
"DataSource": {
"Name": "mysql_test"
},
"Status": "Success\n",
"TriggerTime": 1710239005403,
"Bizdate": 1710239005403,
"StartedTime": 1710239005403,
"FinishedTime": 1710239005403,
"Id": 1234,
"TenantId": 1,
"ProjectId": 100,
"ProjectEnv": "Prod\n",
"Owner": "1000",
"CreateTime": 1710239005403,
"ModifyTime": 1710239005403,
"CreateUser": "1000",
"ModifyUser": "1000"
}
],
"TotalCount": 100,
"PageSize": 10,
"PageNumber": 1
}
}
错误码
访问错误中心查看更多错误码。