Post Trigger Link Action
    • PDF

    Post Trigger Link Action

    • PDF

    Article Summary

    Overview

    Links a trigger with an action.

    Request

    Request URL

    POST {CLOUD_FUNCTIONS_API_URL}/triggers/{triggerName}/link-action
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Path Variables

    ParameterRequiredTypeDescription
    triggerNameYesstringName of the trigger

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    platformNostring(classic | vpc)Platform type. It is processed as default classic.

    Request Body

    {
    	"action" : "string",
    	"package" : "string"
    }
    
    PropertyRequiredTypeLimitsDescription
    actionYesstringName of the action to be linked with the trigger
    packageYesstringName of the package for the action to be linked with the trigger

    Response

    Response Body

    {
        "content": {
            "action": {
                "name": "string",
                "path": "string"
            },
            "namespace": "string",
            "status": "string",
            "trigger": {
                "name": "string",
                "path": "string"
            }
        }
    }
    
    PropertyTypeDescriptionNote
    content.action.namestringName of the action
    content.action.pathstringPath of the action
    content.namespacestringNamespace of the user
    content.statusstringStatus of the link for the trigger and action
    content.trigger.namestringName of the trigger
    content.trigger.pathstringPath of the trigger

    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.