GetPipelineGroup - Get a pipeline group
Retrieves the details of a specified pipeline group.
|
Applicable editions |
Central edition, Region edition |
Endpoint and authorization information
-
Obtain an endpoint: Replace {domain} in the API request syntax.
-
Obtain the organizationId: Required only for the Central edition. Go to the Basic Information page in the Organization Management console to retrieve 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/{groupId}
Region edition
GET https://{domain}/oapi/v1/flow/pipelineGroups/{groupId}
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 |
|
groupId |
integer |
path |
Yes |
The pipeline group ID. |
111 |
Request examples
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelineGroups/111' \
-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/111' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example |
| - |
object |
||
|
createTime |
integer |
The time when the pipeline group was created. |
1586863220000 |
|
id |
integer |
The pipeline group ID. |
111 |
|
name |
string |
The pipeline group name. |
Pipeline group name |
Response example
{
"createTime": 1586863220000,
"id": 111,
"name": "Pipeline group name"
}
Error codes
For more information about error codes, see Error Code Center.