Querying Parameter Groups Associated with a Pipeline
Function
This API is used to query parameter groups associated with a pipeline.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{project_id}/api/pipeline/variable/group/pipeline
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition: Project ID. For details, see Obtaining a Project ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
pipelineId |
Yes |
String |
Pipeline ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
Parameter group ID. |
project_id |
String |
Project ID. |
domain_id |
String |
Tenant ID. |
name |
String |
Parameter group name. |
description |
String |
Description. |
variables |
Array of strings |
Parameter list. |
related_pipelines |
String |
Associated pipeline ID. |
creator_id |
String |
Creator ID. |
updater_id |
String |
Updater ID. |
creator_name |
String |
Creator name. |
updater_name |
String |
Updater name. |
create_time |
Integer |
Creation time. |
update_time |
Integer |
Update time. |
Example Requests
GET http://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipeline/variable/group/pipeline?pipelineId=dc73b5ed58a64ab7a469b9480e5f6632
Example Responses
Status code: 200
Response body.
{ "id" : "e9b95653dd854146b9ff48d33c2d9d66", "project_id" : "e2e18230a85d4d6ab0b56cb6d2246c18", "domain_id" : "4b267c81b33648d982e5c2067e4c77b9", "name" : "121212", "description" : "", "variables" : [ { "name" : "12", "sequence" : 1, "type" : "string", "value" : "12", "is_secret" : false, "description" : "" } ], "related_pipelines" : null, "creator_id" : "1212", "updater_id" : "1212", "creator_name" : "12-5", "updater_name" : "12-5", "create_time" : 1718957748000, "update_time" : 1718958969000 }
Status Codes
Status Code |
Description |
---|---|
200 |
Response body. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot