Post Action
- Print
- PDF
Post Action
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Activates an action.
Request
Request URL
POST {CLOUD_FUNCTIONS_API_URL}/packages/{packageName}/actions/{actionName}
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 | Requirement status | Type | Description |
---|---|---|---|
packageName | Yes | string | - Package name When executing an action that does not belong to a package, enter - in the packageName |
actionName | Yes | string | Action name |
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
platform | No | string | (classic | vpc) | - Platform type Processed as default classic |
timeout | No | int | MAX 60000 | Set the timeout of http call in ms. If the action execution does not end by timeout, |
the action continues to be executed independently of the http call, | ||||
and only activationId can be checked in the http response. | ||||
The default value is 60000ms. |
Request body
It is possible to deliver the action's runtime parameters in the JSON format..
{
...
"name": "Kim",
"age": 1,
...
}
Response
Response bodies
{
"content": {
"activationId": "string",
"duration": "number",
"start": "timestamp",
"end": "timestamp",
"name": "string",
"namespace": "string",
"response": {
"result": {
},
"status": "string",
"success": "boolean"
},
"subject": "string"
}
}
Item | Type | Description | Remarks |
---|---|---|---|
content.activationId | string | Activation ID of the action | |
content.duration | int | Execution time | |
content.start | timestamp | Time when activation has started | |
content.end | timestamp | Time when action activation has ended | |
content.name | string | Action name | |
content.namespace | string | Namespace of the user | |
content.response | Action activation result information | ||
content.subject | string | Information on the user who executed the action |
Was this article helpful?