Queries a list of versions of files to be deployed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. |
12345 |
| BusinessId |
integer |
No |
The workflow ID. You can call the ListBusiness operation to query the workflow ID by name. |
100001 |
| SolutionId |
integer |
No |
The solution ID. |
8065 |
| CommitFrom |
string |
No |
The start date for committing. Specify the date in the yyyy-MM-dd format. |
2025-01-01 |
| CommitTo |
string |
No |
The end date (included) for committing. Specify the date in the yyyy-MM-dd format. |
2025-01-31 |
| CommitUserId |
string |
No |
The ID of the user who commits the file. |
2003**** |
| FileType |
integer |
No |
The type of the code for the file. The code for files varies based on the file type. For more information, see DataWorks nodes. You can call the ListFileType operation to query the type of the code for the file. |
10 |
| ChangeType |
integer |
No |
The change type. Valid values:
|
0 |
| FileIds |
array |
No |
The IDs of the files to be queried. |
|
|
string |
No |
The ID of the file to be queried. |
11223** |
|
| FileName |
string |
No |
The name of the file. |
Filename |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0000-ABCD-EFG**** |
| PagingInfo |
object |
The pagination details. |
|
| TotalCount |
integer |
The total number of entries returned. |
100 |
| PageNumber |
integer |
The page number. Pages start from page 1. |
1 |
| PageSize |
integer |
The number of entries per page. Default value: 10. |
10 |
| DeploymentPackageFiles |
array<object> |
The list of files pending deployment. |
|
|
object |
The details of the version of the file to be deployed. |
||
| Id |
integer |
The unique ID. |
650433503 |
| FileId |
integer |
The file ID. |
520246913 |
| FileVersion |
integer |
The file version. |
34 |
| CommitTime |
string |
The time for committing. |
2025-04-10 15:55:47 |
| CommitUser |
string |
The ID of the Alibaba Cloud account used by the user who committed the file. |
446*** |
| CommitUserName |
string |
The name of the Alibaba Cloud account used by the user who committed the file. |
user*** |
| ProjectId |
integer |
The workspace ID. |
27595 |
| TenantId |
integer |
The DataWorks tenant ID. |
639415964191360 |
| FileType |
integer |
The file type. The code for files varies based on the file type. For more information, see DataWorks nodes. |
13 |
| FileName |
string |
The name of the file of the current version. |
bak_part_basc_person_relation_all_da |
| Status |
integer |
The status of the code file of the current version. Valid values:
|
100 |
| ChangeType |
integer |
The change type, which is an integer. Valid values:
|
0 |
| IsSameAsProductionVersion |
boolean |
Indicates whether the version is a version in the production environment of the scheduling system. |
true |
| NodeId |
integer |
The ID of the auto triggered node that corresponds to the file. |
700005008419 |
| Comment |
string |
The comment for committing. |
Test commit |
| NodeConfiguration |
string |
The scheduling property configurations of the node that corresponds to the file, which is a JSON string. |
{ "tagList": [], "fileId": -1, "taskRerunTime": 0, "taskRerunInterval": 0, "reRunAble": 1, "nodeId": 125803000, "nodeName": "new", "nodeType": 0, "isStop": 0, "paraValue": "", "startEffectDate": "1970-01-01 00:00:00", "endEffectDate": "9999-01-01 00:00:00", "cronExpress": "00 26 00 * * ?", "owner": "1107550004250000", "resgroupId": 6300000, "cu": "0.25", "appId": 170000, "tenantId": 524257424560000, "createTime": "2025-04-10 15:55:01", "createUser": "1107550004250000", "lastModifyTime": "2025-04-10 15:55:41", "cycleType": 0, "dependentType": 0, "dependentTypeList": [0], "lastModifyUser": "1107550004250000", "dependentDataNode": "", "input": "[{\"regionId\":\"cn-hangzhou\",\"str\":\"root_input\",\"parseType\":1}]", "output": "[{\"str\":\"project_root.526586287_out\",\"parseType\":2},{\"str\":\"project_root.new\",\"parseType\":1}]", "inputList": [{ "regionId": "cn-hangzhou", "str": "root_input", "parseType": 1 }], "outputList": [{ "str": "project_root.526586287_out", "parseType": 2 }, { "str": "project_root.new", "parseType": 1 }], "isAutoParse": 1, "startRightNow": false, "extConfig": "{\"openCustomCron\":false,\"formCron\":\"\"}", "inputContextList": [], "outputContextList": [] } |
| UseType |
string |
The module to which the file belongs. Valid values:
|
NORMAL |
| SmokeTestStatus |
string |
The test status in the development environment. |
Not tested |
Examples
Success response
JSON format
{
"RequestId": "0000-ABCD-EFG****",
"PagingInfo": {
"TotalCount": 100,
"PageNumber": 1,
"PageSize": 10,
"DeploymentPackageFiles": [
{
"Id": 650433503,
"FileId": 520246913,
"FileVersion": 34,
"CommitTime": "2025-04-10 15:55:47",
"CommitUser": "446***",
"CommitUserName": "user***",
"ProjectId": 27595,
"TenantId": 639415964191360,
"FileType": 13,
"FileName": "bak_part_basc_person_relation_all_da",
"Status": 100,
"ChangeType": 0,
"IsSameAsProductionVersion": true,
"NodeId": 700005008419,
"Comment": "Test commit",
"NodeConfiguration": "{\n\t\"tagList\": [],\n\t\"fileId\": -1,\n\t\"taskRerunTime\": 0,\n\t\"taskRerunInterval\": 0,\n\t\"reRunAble\": 1,\n\t\"nodeId\": 125803000,\n\t\"nodeName\": \"new\",\n\t\"nodeType\": 0,\n\t\"isStop\": 0,\n\t\"paraValue\": \"\",\n\t\"startEffectDate\": \"1970-01-01 00:00:00\",\n\t\"endEffectDate\": \"9999-01-01 00:00:00\",\n\t\"cronExpress\": \"00 26 00 * * ?\",\n\t\"owner\": \"1107550004250000\",\n\t\"resgroupId\": 6300000,\n\t\"cu\": \"0.25\",\n\t\"appId\": 170000,\n\t\"tenantId\": 524257424560000,\n\t\"createTime\": \"2025-04-10 15:55:01\",\n\t\"createUser\": \"1107550004250000\",\n\t\"lastModifyTime\": \"2025-04-10 15:55:41\",\n\t\"cycleType\": 0,\n\t\"dependentType\": 0,\n\t\"dependentTypeList\": [0],\n\t\"lastModifyUser\": \"1107550004250000\",\n\t\"dependentDataNode\": \"\",\n\t\"input\": \"[{\\\"regionId\\\":\\\"cn-hangzhou\\\",\\\"str\\\":\\\"root_input\\\",\\\"parseType\\\":1}]\",\n\t\"output\": \"[{\\\"str\\\":\\\"project_root.526586287_out\\\",\\\"parseType\\\":2},{\\\"str\\\":\\\"project_root.new\\\",\\\"parseType\\\":1}]\",\n\t\"inputList\": [{\n\t\t\"regionId\": \"cn-hangzhou\",\n\t\t\"str\": \"root_input\",\n\t\t\"parseType\": 1\n\t}],\n\t\"outputList\": [{\n\t\t\"str\": \"project_root.526586287_out\",\n\t\t\"parseType\": 2\n\t}, {\n\t\t\"str\": \"project_root.new\",\n\t\t\"parseType\": 1\n\t}],\n\t\"isAutoParse\": 1,\n\t\"startRightNow\": false,\n\t\"extConfig\": \"{\\\"openCustomCron\\\":false,\\\"formCron\\\":\\\"\\\"}\",\n\t\"inputContextList\": [],\n\t\"outputContextList\": []\n}",
"UseType": "NORMAL",
"SmokeTestStatus": "Not tested"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.