MENU
      Get Trigger List

        Get Trigger List


        Article summary

        Available in Classic and VPC

        Get the list of Cloud Functions triggers.

        Request

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

        MethodURI
        GET/triggers

        Request headers

        For information about the headers common to all Cloud Functions APIs, see Common Cloud Functions headers.

        Request query parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        platformStringOptionalPlatform type
        • vpc (default) | classic

        Request example

        The request example is as follows:

        curl -X GET 'https://cloudfunctions.apigw.ntruss.com/ncf/api/v2/triggers?platform=vpc' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Curl

        Response

        This section describes the response format.

        Response body

        The response body includes the following data:

        FieldTypeDescription
        content.triggersObject[]Trigger list
        content.triggers[].nameStringTrigger name
        content.triggers[].typeStringTrigger type

        Response status codes

        The following describes the response status codes.

        HTTP status codeCodeMessageDescription
        40380002SUB_ACC_NO_PERMISSIONDetailed permission error

        Response example

        The response example is as follows:

        {
            "content": {
                "triggers": [
                    {
                        "name": "my_cron_trigger",
                        "type": "cron"
                    }
                ]
            }
        }
        JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.