Help Center/ CodeArts Pipeline/ API Reference/ API/ GitCode Pipeline/ Querying Action Details of a GitCode Pipeline
Updated on 2025-11-12 GMT+08:00

Querying Action Details of a GitCode Pipeline

Function

This API is used to query action details of a GitCode pipeline.

Calling Method

For details, see Calling APIs.

URI

GET /v3/{domain_id}/actions/detail

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

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Definition:

Extension name.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

version

No

String

Definition:

Extension version.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

vision_content

Array of vision_content objects

Definition:

Extension details.

Value range:

N/A

vision_list

Array of strings

Definition:

Version list.

Value range:

N/A

Table 4 vision_content

Parameter

Type

Description

version

String

Definition:

Extension version number.

Value range:

N/A

sample

String

Definition:

Sample code in YAML format.

Value range:

N/A

readme

String

Definition:

README of an extension.

Value range:

N/A

Example Requests

GET https://{endpoint}/v3/93b9fc6ffc6a4edc9ab049c1f0dbec4b/actions/detail

Example Responses

Status code: 200

OK

{
  "vision_content" : [ {
    "version" : "1.0",
    "sample" : "example: true",
    "readme" : "Initial version with basic setup"
  }, {
    "version" : "1.1",
    "sample" : "example: false",
    "readme" : "Minor updates with new features"
  } ],
  "vision_list" : [ "vision_one", "vision_two" ]
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.