You can call GetKubernetesTrigger to query application operation triggers.


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 parameter types

This operation uses only common request parameters. For more information, see Common parameters.

Request syntax

get /triggers/{ClusterId} http|https

Request parameters

Parameter Type Required Example Description
ClusterId String Yes c5cdf7e3938bc4f8eb0e44b21a80f****

The ID of the cluster.

Namespace String Yes default

The name of the namespace.

Type String No deployment

The type of the application.

Name String Yes web-server

The name of the application.

Response parameters

Parameter Type Example Description
triggers Array of triggers

A list of triggers.

action String "redeploy"

The operation triggered.

cluster_id String "c5cdf7e3938bc4f8eb0e44b21a80f****"

The ID of the cluster.

id String "111"

The ID of the trigger.

project_id String "default/web-server"

The ID of the project.

token String "***"

The token used to enable a trigger.


Sample requests

POST /triggers/[ClusterId] HTTP/1.1
Common request parameters

Sample success responses

XML format


JSON format

    "triggers": [
            "cluster_id": "c5cdf7e3938bc4f8eb0e44b21a80f****",
            "project_id": "default/web-server",
            "action": "redeploy",
            "id": "111",
            "token": "***"

Error codes

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