All Products
Search
Document Center

Alibaba Cloud DevOps:ListPipelineGroups

Last Updated:Apr 21, 2025

Queries a list of pipeline groups.

Prerequisites

  • Replace <domain> in your API request URL with the endpoint that you obtain. For more information, see Endpoint.

  • Obtain your access token. For more information, see Obtain an access token.

Authorization information

Application

Resource

Required permission

Flow

Pipeline group

Read-only

Request syntax

GET https://{domain}/oapi/v1/flow/organizations/pipelineGroups

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example

perPage

integer

query

No

Number of entries per page. Default value: 10. Maximum value: 30.

10

page

integer

query

No

Current page. Default value: 1.

1

Sample request

curl -X 'GET' \
  'https://test.rdc.aliyuncs.com/oapi/v1/flow/organizations/pipelineGroups?perPage=10&page=1' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

array

-

object

createTime

integer

Creation time.

1586863220000

id

integer

Pipeline group ID.

111

name

string

Pipeline group name.

Pipeline Group Name

Sample success responses

[
    {
        "createTime": 1586863220000,
        "id": 111,
        "name": "Pipeline Group Name"
    }
]

Response headers

Parameter

Description

Example

x-next-page

Next page.

3

x-page

Current page.

2

x-per-page

Number entries per page.

10

x-prev-page

Previous page.

1

x-total

Total number of entries.

100

x-total-pages

Total number of pages.

10

Error codes

For a list of error codes, see Service error codes.