Get pipeline reserved trigger time zone

Prev Next

Available in Classic and VPC

Get the list of applicable time zones when setting up a pipeline's reserved trigger.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /api/v1/trigger/timezone

Request headers

For information about the headers common to all SourcePipeline APIs, see SourcePipeline request headers.

Request example

The request example is as follows:

curl --location --request GET 'https://vpcsourcepipeline.apigw.ntruss.com/api/v1/trigger/timezone' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
result Object - Response result
result.timeZone Array - List of time zones

Response status codes

For information about the HTTP status codes common to all SourcePipeline APIs, see SourcePipeline response status codes.

Response example

The response example is as follows:

{
    "result": {
        "timeZone": [
            "Etc/GMT+12 (UTC-12:00)",
            "Etc/GMT+11 (UTC-11:00)",
            "Etc/GMT+2 (UTC-02:00)",
            ...
            "Pacific/Auckland (UTC+12:00)",
            "Pacific/Tongatapu (UTC+13:00)",
            "Pacific/Apia (UTC+13:00)"
        ]
    }
}