Help Center/ CodeArts Pipeline/ API Reference/ API/ Pipeline Management/ Obtaining Pipeline Versions in Batches
Updated on 2025-11-12 GMT+08:00

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

Table 1 Path Parameters

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

Table 2 Request body 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

Table 3 PipelineIdVO

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

Table 4 Response body parameters

Parameter

Type

Description

pipelineId

pipelineId object

Definition:

Pipeline version details.

Value range:

N/A

Table 5 pipelineId

Parameter

Type

Description

pipelineId

String

Definition:

Pipeline ID.

Value range:

N/A

manifestVersion

String

Definition:

Pipeline version.

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.