Obtaining Pipeline Versions in Batches
Function
This API is used to obtain pipeline versions in batches.
Calling Method
For details, see Calling APIs.
URI
POST /v5/{project_id}/api/pipelines/pipelines-version
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Definition: 32-character UUID of a CodeArts project, which must be unique. Constraints: N/A Value range: The value contains 32 characters. Default value: N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
[items] |
No |
Array of PipelineIdVO objects |
Definition: Pipeline ID list. Constraints: N/A Value range: N/A Default value: N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
pipeline_id |
No |
String |
Definition: Pipeline ID. Obtain the ID by calling the API for querying pipelines. pipelines.pipelineId indicates the pipeline ID. Constraints: N/A Value range: The value consists of 32 characters, including only digits and letters. Default value: N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
pipelineId |
pipelineId object |
Definition: Pipeline version details. Value range: N/A |
Example Requests
{
"-" : "string"
}
Example Responses
Status code: 200
OK
{
"pipelineId" : {
"pipelineId" : "4a5350af4b5041d4a7fdea16d6938eb0",
"manifestVersion" : "3.0"
}
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
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