Get Action
- Print
- PDF
Get Action
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Gets information about a specific action.
Request
Request URL
GET {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 searching for an action that does not belong to the package, enter - in 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 |
Response
Response bodies
Basic Action
{
"content": {
"name": "string",
"path": "string",
"description": "string",
"web": "boolean",
"raw-http": "boolean",
"custom-options": "boolean",
"parameters": {
},
"exec": {
"binary": "boolean",
"code": "string",
"kind": "string",
"main": "string"
},
"limits": {
"memory": "number",
"timeout": "number"
},
"vpc" : {
"vpcNo": "number",
"subnetNo": "number"
},
"resourceId": "string"
}
}
Item | Type | Description | Remarks |
---|---|---|---|
content.name | string | Action name | |
content.path | string | Action path | |
content.description | string | Action description | |
content.web | boolean | Web action setting | |
content.raw-http | boolean | HTTP raw text availability | |
content.custom-options | boolean | Header option setting | |
content.parameters | object | Default parameter of the action | |
content.exec.binary | boolean | File binary status of the code | |
content.exec.code | string | Source code | |
content.exec.kind | string | Language in use | |
content.exec.main | string | Function to be executed within the code | |
content.limits.memory | number | The size of the memory that is allocated to the action container | |
content.limits.timeout | number | The maximum time limit for which the action can be run | |
content.vpc | vpc information. | Appears only when the platform is vpc | |
content.vpc.vpcNo | number | Connected vpc No. | |
content.vpc.subnetNo | number | Connected subnet No. | |
content.resourceId | string | Action resourceId |
Sequence Action
{
"content": {
"name": "string",
"path": "string",
"description": "string",
"resourceId": "string",
"web": "boolean",
"exec": {
"kind": "string",
"components": [
"string"
]
}
}
}
Item | Type | Description | Remarks |
---|---|---|---|
content.name | string | Action name | |
content.path | string | Action path | |
content.description | string | Action description | |
content.resourceId | string | Action resourceId | |
content.web | boolean | Web action setting | |
content.exec.kind | string | Sequence action | |
content.exec.components | string array | Linked action list |
Was this article helpful?