ListDIJobs
Queries a list of new-version data integration tasks, including full-database real-time synchronization tasks, full-database batch synchronization tasks, and single-table real-time synchronization tasks.
Operation description
To use this API, you must purchase DataWorks Basic Edition or a higher edition.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
10 |
| Name |
string |
No |
Filters tasks by synchronization task name. Partial name matching is supported. |
test_export_01 |
| SourceDataSourceType |
string |
No |
The type of the source data source. If you do not specify this parameter, no limit is applied. Valid values: PolarDB, MySQL, Kafka, LogHub, Hologres, Oracle, OceanBase, MongoDB, RedShift, Hive, SQLServer, Doris, and ClickHouse. |
MySQL |
| DestinationDataSourceType |
string |
No |
The type of the destination data source. If you do not specify this parameter, no limit is applied. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, LogHub, StarRocks, DataHub, AnalyticDB_For_MySQL, Kafka, and Hive. |
Hologres |
| MigrationType |
string |
No |
The synchronization type. Valid values:
|
FullAndRealtimeIncremental |
| ProjectId |
integer |
Yes |
The ID of the workspace. |
1967 |
| SpecType |
string |
No |
The task configuration specification type. Default value:
|
FILESPEC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
7263E4AC-9D2E-5B29-B8AF-7C5012E92A41 |
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries that meet the conditions. |
12 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number of the returned data. |
1 |
| DIJobs |
array<object> |
The data integration tasks. |
|
|
object |
A data integration task. |
||
| Id |
integer |
The ID of the data integration task. |
32599 |
| ProjectId |
integer |
The ID of the DataWorks workspace to which the task belongs. |
26442 |
| JobName |
string |
The name of the task. |
mysql_to_holo_sync_35197 |
| MigrationType |
string |
The synchronization type. Valid values:
|
FullAndRealtimeIncremental |
| SourceDataSourceType |
string |
The type of the source data source. Valid values: PolarDB, MySQL, Kafka, Loghub, Hologres, Oracle, OceanBase, MongoDB, RedShift, Hive, SqlServer, Doris, and ClickHouse. |
Mysql |
| DestinationDataSourceType |
string |
The type of the destination data source. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, Loghub, STARROCKS, DataHub, ANALYTICDB_FOR_MYSQL, Kafka, and Hive. |
Hologres |
| JobStatus |
string |
The synchronization status. Valid values:
|
Running |
DIJobId
deprecated
|
integer |
[Deprecated] This field is deprecated. Use the Id field instead. |
32599 |
| Owner |
string |
The owner of the task. |
3726346 |
Examples
Success response
JSON format
{
"RequestId": "7263E4AC-9D2E-5B29-B8AF-7C5012E92A41",
"PagingInfo": {
"TotalCount": 12,
"PageSize": 10,
"PageNumber": 1,
"DIJobs": [
{
"Id": 32599,
"ProjectId": 26442,
"JobName": "mysql_to_holo_sync_35197",
"MigrationType": "FullAndRealtimeIncremental",
"SourceDataSourceType": "Mysql",
"DestinationDataSourceType": "Hologres",
"JobStatus": "Running",
"DIJobId": 32599,
"Owner": "3726346"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.