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
|
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 |
|
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
|
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 |
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.
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