Querying GitCode Pipeline Events
Function
This API is used to query GitCode pipeline events.
Calling Method
For details, see Calling APIs.
URI
POST /v6/{domain_id}/api/pac/pipelines/actions/events
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| domain_id | Yes | String | Definition: Tenant ID, that is, domain ID of a user. Constraints: N/A Range: The value consists of 32 characters, including digits and letters. Default value: N/A |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| https_url | Yes | String | Definition: Address of the code source repository. Constraints: N/A Value range: N/A Default value: N/A |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| events | Array of strings | Definition: Trigger type list. Value range: N/A |
Example Requests
POST https://{endpoint}/v6/93b9fc6ffc6a4edc9ab049c1f0dbec4b/api/pac/pipelines/actions/events
{
"https_url" : "https://example.com"
} Example Responses
Status code: 200
OK
{
"events" : [ "Push" ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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