Queries a list of migration tasks.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID. | 12345 |
MigrationType | string | Yes | The migration task type. Valid values: IMPORT and EXPORT. | IMPORT |
Owner | string | No | The owner ID. | 193379**** |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. Maximum value: 100. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F9198AA3-9010-53D5-9714-DC4461427D3E",
"Success": true,
"Data": {
"Migrations": [
{
"Id": 436064,
"Name": "test_task_1638498642279",
"PackageType": "DATAWORKS_MODEL",
"MigrationType": "EXPORT",
"CreateTime": 123124123123123,
"UpdateTime": 123123123123123,
"CreateUser": "123123****",
"CreateUserName": "3h1_test",
"UpdateUser": "1231****",
"UpdateUserName": "3h1_test",
"ProjectId": 72132,
"TenantId": 16307,
"Status": "SUCCESS",
"Message": "An internal system error occurred. datasource kafka region is not cn-chengdu, can't open network for it",
"DownloadUrl": "http://geoip-sdk-user.oss-cn-zhangjiakou.aliyuncs.com/product/v1/ipv4/trace/v1.20220424123842.dex?Expires=1650780849&OSSAccessKeyId=XXXXXXeF4Lv5j&Signature=qxxxxx",
"Description": ""
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 20
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history