ListPipelines
Retrieves a list of pipelines.
Try it now
Test
RAM authorization
Request syntax
GET /organization/{organizationId}/pipelines HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The ID of the organization. It is a string value that you can obtain from the URL of the Yunxiao console, such as https://devops.aliyun.com/organization/[OrganizationId]. |
5ebbc0228123212b59xxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pipelineName |
string |
No |
The name of the pipeline. |
Pipeline A |
| creatorAccountIds |
string |
No |
The Alibaba Cloud account IDs of the creators. Separate multiple IDs with commas (,). |
112122121 |
| executeAccountIds |
string |
No |
The Alibaba Cloud account IDs of the executors. Separate multiple IDs with commas (,). |
1111111 |
| statusList |
string |
No |
The list of statuses. Separate multiple statuses with commas (,). Valid values: SUCCESS, RUNNING, FAIL, CANCELED, and WAITING. |
RUNNING,SUCCESS |
| createStartTime |
integer |
No |
The start time of the creation period. |
1586863220000 |
| createEndTime |
integer |
No |
The end time of the creation period. |
1586863220000 |
| executeStartTime |
integer |
No |
The start time of the execution period. |
1586863220000 |
| executeEndTime |
integer |
No |
The end time of the execution period. |
1586863220000 |
| maxResults |
integer |
No |
The maximum number of entries to return. |
20 |
| nextToken |
string |
No |
The pagination token. |
aaaaaaaaaa |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The ID of the request. Each request has a unique ID for troubleshooting. |
ASSDS-ASSASX-XSAXSA-XSAXSAXS |
| errorMessage |
string |
The error message. |
"" |
| errorCode |
string |
The error code. |
"" |
| success |
boolean |
Indicates whether the API call is successful. Valid values: true and false. |
true |
| totalCount |
integer |
The total number of entries. |
50 |
| nextToken |
string |
The pagination token. |
ssaassasass |
| pipelines |
array<object> |
The pipelines. |
|
|
object |
|||
| pipelineName |
string |
The name of the pipeline. |
Pipeline |
| pipelineId |
integer |
The ID of the pipeline. |
124 |
| createTime |
integer |
The time when the pipeline was created. |
1586863220000 |
| creatorAccountId |
string |
The Alibaba Cloud account ID of the creator. |
22121222 |
| groupId |
integer |
The ID of the group to which the pipeline belongs. |
1111 |
Examples
Success response
JSON format
{
"requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
"errorMessage": "\"\"",
"errorCode": "\"\"",
"success": true,
"totalCount": 50,
"nextToken": "ssaassasass",
"pipelines": [
{
"pipelineName": "流水线",
"pipelineId": 124,
"createTime": 1586863220000,
"creatorAccountId": "22121222",
"groupId": 1111
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam.ParamNotPresent | The parameter is invalid. | The parameter is invalid. |
| 400 | InvalidUser.NotFound | The user that is invoking the API service is not a registered user. | The user that is invoking the API service is not a registered user. |
| 403 | Forbidden.UserNotInCurrentOrganization | The user is not in the organization and is not authorized to perform the operation. | |
| 404 | InvalidOrganization.NotFound | The organization is not found. | The organization is not found. Please check the organization ID. |
| 404 | InvalidPipeline.NotFound | The pipeline is not found. | The pipeline does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.