Help Center/ CodeArts Pipeline/ API Reference/ API/ GitCode Pipeline/ Querying the GitCode Pipeline Action List
Updated on 2025-09-08 GMT+08:00

Querying the GitCode Pipeline Action List

Function

This API is used to query the GitCode pipeline action list.

Calling Method

For details, see Calling APIs.

URI

POST /v6/{domain_id}/api/pac/pipelines/actions/list

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

domain_id

Yes

String

Definition:

Tenant ID.

Constraints:

N/A

Value range:

The value consists of 32 characters, including digits and letters.

Default value:

N/A

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

pipeline_run_ids

No

Array of strings

Definition:

Pipeline run ID list.

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 3 Response body parameters

Parameter

Type

Description

pipeline_runs

Array of PipelineRunActions objects

Definition:

List of pipeline running details.

Value range:

N/A

Table 4 PipelineRunActions

Parameter

Type

Description

pipeline_id

String

Definition:

Pipeline ID.

Value range:

N/A

pipeline_run_id

String

Definition:

Pipeline run ID.

Value range:

N/A

actor

String

Definition:

Pipeline operator.

Value range:

N/A

pipeline_name

String

Definition:

Pipeline name.

Value range:

N/A

status

String

Definition:

Pipeline running status.

Value range:

N/A

run_number

String

Definition:

Pipeline run ID.

Value range:

N/A

event

String

Definition:

Pipeline trigger type.

Value range:

N/A

branch

String

Definition:

Code source branch.

Value range:

N/A

start_time

String

Definition:

Time when the pipeline starts to be executed.

Value range:

N/A

end_time

String

Definition:

Time when the pipeline stops running.

Value range:

N/A

commit_id

String

Definition:

Commit record of the code source.

Value range:

The value contains 40 characters.

pipeline_run_name

String

Definition:

Name of the pipeline operator.

Value range:

N/A

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.