Queries a list of triggers for 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
Action String Yes ListRepoTrigger

The operation that you want to perform. Set the value to ListRepoTrigger.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

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 code returned for the request.

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

The ID of the request.

Triggers Array

A list of triggers.

TriggerId String crw-vriyql9eq7ep8v4c

The ID of the trigger.

TriggerName String test

The name of the trigger.

TriggerUrl String https://www.test.com

The target URL of the trigger.

RepoEvent String BUILD_SUCCESS

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

TriggerType String ALL

The type of expression used to filter image tags that can invoke the trigger. Valid values: ALL, TAG_LIST, and TAG_REG_EXP.

TriggerTag String *

The image tag that invokes the trigger.


Sample requests

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

Sample success responses

JSON format


XML format


Error codes

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