Querying GitCode Pipeline Execution Records
Function
This API is used to query GitCode pipeline execution records.
Calling Method
For details, see Calling APIs.
URI
POST /v6/{domain_id}/api/pac/pipelines/actions
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
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
page |
No |
Long |
Definition: Page number for pagination query. Constraints: N/A Value range: The value is greater than 0. Default value: N/A |
page_size |
No |
String |
Definition: Number of records on each page. Constraints: N/A Value range: The value is fixed at 20. Default value: N/A |
https_url |
Yes |
String |
Definition: Code source address. Constraints: N/A Value range: N/A Default value: N/A |
pipeline_name |
No |
String |
Definition: Pipeline name. Constraints: N/A Value range: N/A Default value: N/A |
file_path |
No |
String |
Definition: File path. Constraints: N/A Value range: N/A Default value: N/A |
pipeline_run_name |
No |
String |
Definition: Name of the pipeline operator. Constraints: N/A Value range: N/A Default value: N/A |
event |
No |
String |
Definition: Pipeline trigger type. Constraints: N/A Value range: N/A Default value: N/A |
actor |
No |
String |
Definition: Pipeline creator name. Constraints: N/A Value range: N/A Default value: N/A |
branch |
No |
String |
Definition: Code source branch. Constraints: N/A Value range: N/A Default value: N/A |
status |
No |
String |
Definition: Pipeline running status. Constraints: N/A Value range: N/A Default value: N/A |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total |
Long |
Definition: Total number of queried pipelines. Value range: N/A |
page |
Long |
Definition: Number of pages for querying pipelines. Value range: N/A |
pageSize |
Long |
Definition: Number of pipelines displayed on a page. Value range: N/A |
successTimes |
Long |
Definition: Time when the pipeline is successfully executed. Value range: N/A |
failedTimes |
Long |
Definition: Time when the pipeline fails to run. Value range: N/A |
pipelineRuns |
Array of PipelineRunActions objects |
Definition: Time when the pipeline fails to run. Value range: N/A |
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.
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