Post Trigger Link Action
- Print
- PDF
Post Trigger Link Action
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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
Parameter | Required | Type | Description |
---|---|---|---|
triggerName | Yes | string | Trigger name |
Request parameters
Parameter name | Required | Type | Service limits | Description |
---|---|---|---|---|
platform | No | string | (classic | vpc) |
Request bodies
{
"action" : "string",
"package" : "string"
}
Item | Required | Type | Service limits | Description |
---|---|---|---|---|
action | Yes | string | Action name to connect with trigger | |
package | Yes | string | Name 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"
}
}
}
Item | Type | Description | Note |
---|---|---|---|
content.action.name | string | Action name | |
content.action.path | string | Action information | |
content.namespace | string | Namespace of the user | |
content.status | string | Status of the link for the trigger and action | |
content.trigger.name | string | Trigger name | |
content.trigger.path | string | Trigger information |
Was this article helpful?