Queries the webhooks of a repository.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoId String Yes crr-tquyps22md8purzx

The ID of the repository.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The return value.

RequestId String 2CA76D52-A8F0-4D0B-854E-FBD9F6C99049

The ID of the request.

Triggers Array

The webhooks.

TriggerId String crw-vriyql9eq7ep8v4c

The ID of the webhook.

TriggerName String test

The name of the webhook.

TriggerUrl String https://www.test.com

The URL of the webhook.

RepoEvent String BUILD_SUCCESS

The event type that invokes the webhook. Valid value: BUILD_SUCCESS.

TriggerType String ALL

The type of the webhook.

TriggerTag String *

The image tag that triggers the webhook.


Sample requests

http(s)://[Endpoint]/? Action=ListRepoTrigger
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.