ListPipelineRuns
Queries a paginated list of deployment pipelines and allows you to filter the pipelines by using filter conditions.
Operation description
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 ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace Management page to obtain the ID. This parameter specifies the DataWorks workspace in which you invoke the current API. |
10000 |
| Creator |
string |
No |
The creator of the deployment pipeline. This parameter is used as a filter condition. |
110755000425**** |
| Status |
string |
No |
The current status of the deployment pipeline. This parameter is used as a filter condition. Valid values:
|
Running |
| ObjectId |
string |
No |
The ID of the deployment object. |
860438872620113XXXX |
| 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 |
| ModifyTimeFrom |
integer |
No |
The lower bound of the last update time of the pipeline. The value is a UNIX timestamp in milliseconds and is inclusive. You can specify only the lower bound. If you do not specify this parameter, the lower bound is not limited. If you specify both this parameter and ModifyTimeTo, the value of this parameter must be less than or equal to the value of ModifyTimeTo. This parameter is used to filter the last update time of the pipeline and does not indicate the exact time of the production offline event. |
1793548800000 |
| ModifyTimeTo |
integer |
No |
The upper bound of the last update time of the pipeline. The value is a UNIX timestamp in milliseconds and is inclusive. You can specify only the upper bound. If you do not specify this parameter, the upper bound is not limited. If you specify both this parameter and ModifyTimeFrom, the value of this parameter must be greater than or equal to the value of ModifyTimeFrom. This parameter is used to filter the last update time of the pipeline and does not indicate the exact time of the production offline event. |
1793635200000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
7C352CB7-CD88-50CF-9D0D-E81BDF02XXXX |
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries that meet the filter conditions. |
2524 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PipelineRuns |
array<object> |
The list of deployment pipelines. |
|
|
array<object> |
The deployment pipeline. |
||
| Id |
string |
The ID of the deployment pipeline. |
097c73fe-ed6e-4fb1-b109-a5d59e46cd58 |
| ProjectId |
integer |
The ID of the project. |
70199 |
| CreateTime |
integer |
The timestamp when the deployment package was created. |
1702736654000 |
| ModifyTime |
integer |
The update time. The value is a 13-digit number, such as |
1702736654000 |
| Creator |
string |
The creator of the deployment pipeline. |
110755000425XXXX |
| Status |
string |
The status of the deployment pipeline. Valid values:
Valid values:
|
Running |
| Message |
string |
The error message returned when an error occurs in the deployment stage. |
Error message |
| Stages |
array<object> |
The list of deployment stages. |
|
|
array<object> |
The deployment stage. |
||
| Code |
string |
The code of the deployment stage. |
DEV_CHECK |
| Step |
integer |
The step number of the deployment stage. |
1 |
| Type |
string |
The type of the deployment stage. This parameter classifies the operation type of the deployment stage. Valid values:
|
Check |
| Name |
string |
The name of the stage. |
Check before going online to development |
| Description |
string |
The description of the stage. |
Check before going online to development |
| Message |
string |
The error message returned when an error occurs in the deployment stage. |
Error message |
| Status |
string |
The status of the deployment stage. Valid values:
|
Running |
| Detail |
object |
The additional supplementary information about the deployment stage. |
{"checkerList": [{"code": "BuildPackageChecker", "name": "package check"}, {"code": "NodeParentDependency", "name": "downstream dependency check"}, {"code": "NodeInProcess", "name": "offline process check"}]} |
|
any |
The supplementary information. |
{ "checkerList": [ { "code": "BuildPackageChecker", "name": "package check" }, { "code": "NodeParentDependency", "name": "downstream dependency check" }, { "code": "NodeInProcess", "name": "offline process check" } ] } |
|
| Description |
string |
The description of the deployment pipeline. |
Deployment pipeline description |
Examples
Success response
JSON format
{
"RequestId": "7C352CB7-CD88-50CF-9D0D-E81BDF02XXXX\n",
"PagingInfo": {
"TotalCount": 2524,
"PageSize": 10,
"PageNumber": 1,
"PipelineRuns": [
{
"Id": "097c73fe-ed6e-4fb1-b109-a5d59e46cd58",
"ProjectId": 70199,
"CreateTime": 1702736654000,
"ModifyTime": 1702736654000,
"Creator": "110755000425XXXX",
"Status": "Running",
"Message": "Error message",
"Stages": [
{
"Code": "DEV_CHECK",
"Step": 1,
"Type": "Check",
"Name": "Check before going online to development\n",
"Description": "Check before going online to development\n",
"Message": "Error message\n",
"Status": "Running",
"Detail": {
"key": "{\n \"checkerList\": [\n {\n \"code\": \"BuildPackageChecker\",\n \"name\": \"package check\"\n },\n {\n \"code\": \"NodeParentDependency\",\n \"name\": \"downstream dependency check\"\n },\n {\n \"code\": \"NodeInProcess\",\n \"name\": \"offline process check\"\n }\n ]\n}"
}
}
],
"Description": "Deployment pipeline description"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.