Queries a list of ancestor instances of an instance by page.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Id | long | Yes | The instance ID. | 1234 |
| PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
| PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
"PagingInfo": {
"TaskInstances": [
{
"StepType": "Normal",
"TaskId": 1234,
"TaskType": "ODPS_SQL\n",
"TaskName": "SQL node",
"Description": "test",
"WorkflowId": 1234,
"WorkflowName": "Test workflow",
"TriggerType": "Scheduler",
"TriggerRecurrence": "Normal\n",
"WorkflowInstanceId": 1234,
"WorkflowInstanceType": "Normal\n",
"Timeout": 1,
"RerunMode": "AllAllowed\n",
"RunNumber": 1,
"PeriodNumber": 1,
"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,
"ProjectId": 100,
"ProjectEnv": "Prod\n",
"EnvType": "Prod",
"Owner": 1000,
"CreateTime": 1710239005403,
"ModifyTime": 1710239005403,
"CreateUser": 1000,
"ModifyUser": 1000
}
],
"UpstreamTaskInstances": [
{
"DependencyType": "Normal",
"TaskInstance": {
"TaskId": 1234,
"TaskType": "ODPS_SQL",
"TaskName": "SQL node",
"Description": "test",
"WorkflowId": 1234,
"WorkflowName": "Test workflow",
"TriggerType": "Scheduler",
"TriggerRecurrence": "Normal",
"WorkflowInstanceId": 1234,
"WorkflowInstanceType": "Normal",
"Timeout": 3600,
"RerunMode": "AllAllowed",
"RunNumber": 1,
"PeriodNumber": 1,
"BaselineId": 1234,
"Priority": 1,
"RuntimeResource": {
"ResourceGroupId": "S_res_group_524258031846018_1684XXXXXXXXX",
"Image": "i-xxxxxx",
"Cu": 0.25
},
"Runtime": {
"ProcessId": "T3_123",
"Gateway": "cn-shanghai.1.2"
},
"DataSource": {
"Name": "mysql_test"
},
"Status": "Success",
"TriggerTime": 1710239005403,
"Bizdate": 1710239005403,
"StartedTime": 1710239005403,
"FinishedTime": 1710239005403,
"Id": 1234,
"ProjectId": 100,
"EnvType": "Prod",
"Owner": 1000,
"CreateTime": 1710239005403,
"ModifyTime": 1710239005403,
"CreateUser": 1000,
"ModifyUser": 1000
}
}
],
"TotalCount": 100,
"PageSize": 10,
"PageNumber": 1
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-01-21 | The response structure of the API has changed | View Change Details |
| 2025-01-06 | The response structure of the API has changed | View Change Details |
| 2024-11-20 | The response structure of the API has changed | View Change Details |
