Post Trigger Link Action
    • PDF

    Post Trigger Link Action

    • PDF

    Article Summary

    Overview

    Connects triggers and actions.

    Requests

    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
    triggerNameYesstringTrigger name

    Request parameters

    Parameter nameRequiredTypeService limitsDescription
    platformNostring(classicvpc)

    Request bodies

    {
    	"action" : "string",
    	"package" : "string"
    }
    
    ItemRequiredTypeService limitsDescription
    actionYesstringAction name to connect with trigger
    packageYesstringName of the package for the action to connect with trigger

    Responses

    Response bodies

    {
        "content": {
            "action": {
                "name": "string",
                "path": "string"
            },
            "namespace": "string",
            "status": "string",
            "trigger": {
                "name": "string",
                "path": "string"
            }
        }
    }
    
    ItemTypeDescriptionNote
    content.action.namestringAction name
    content.action.pathstringAction information
    content.namespacestringNamespace of the user
    content.statusstringStatus of the link for the trigger and action
    content.trigger.namestringTrigger name
    content.trigger.pathstringTrigger information

    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.