ListPipelineGroups - Get a list of pipeline groups
Retrieves a list of pipeline groups.
|
Applicable editions |
Central edition, Region edition |
Endpoint and authorization information
-
Obtain an endpoint: Replace {domain} in the API request syntax.
-
Obtain the organization ID: Required only for the Central edition. Go to the Basic Information page in the Organization Management console to obtain the organization ID.
|
Product |
Resource |
Required permission |
|
Pipeline |
Pipeline group |
Read-only |
Request syntax
Central edition
GET https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelineGroups
Region edition
GET https://{domain}/oapi/v1/flow/pipelineGroups
Request headers
|
Parameter |
Type |
Required |
Description |
Example |
|
x-yunxiao-token |
string |
Yes |
Personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Position |
Required |
Description |
Example |
|
organizationId |
string |
path |
|
The organization ID. |
5ebbc0228123212b59xxxxx |
|
perPage |
integer |
query |
No |
The number of entries to return on each page. Default value: 10. Maximum value: 30. |
10 |
|
page |
integer |
query |
No |
The current page number. Default value: 1. |
1 |
Request examples
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelineGroups?perPage=10&page=1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/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 |
The ID of the pipeline group. |
111 |
|
name |
string |
The name of the pipeline group. |
Pipeline group name |
Response example
[
{
"createTime": 1586863220000,
"id": 111,
"name": "Pipeline group name"
}
]
Response headers
|
Parameter |
Description |
Example |
|
x-next-page |
The next page number. |
3 |
|
x-page |
The current page number. |
2 |
|
x-per-page |
The number of entries per page. |
10 |
|
x-prev-page |
The previous page number. |
1 |
|
x-total |
The total number of entries. |
100 |
|
x-total-pages |
The total number of pages. |
10 |
Error codes
For API error codes, see Error Code Center.