Get Action
    • PDF

    Get Action

    • PDF

    Article Summary

    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

    ParameterRequirement statusTypeDescription
    packageNameYesstring- Package name
    When searching for an action that does not belong to the package, enter - in packageName.
    actionNameYesstringAction name

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    platformNostring(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"
        }
    }
    
    ItemTypeDescriptionRemarks
    content.namestringAction name
    content.pathstringAction path
    content.descriptionstringAction description
    content.webbooleanWeb action setting
    content.raw-httpbooleanHTTP raw text availability
    content.custom-optionsbooleanHeader option setting
    content.parametersobjectDefault parameter of the action
    content.exec.binarybooleanFile binary status of the code
    content.exec.codestringSource code
    content.exec.kindstringLanguage in use
    content.exec.mainstringFunction to be executed within the code
    content.limits.memorynumberThe size of the memory that is allocated to the action container
    content.limits.timeoutnumberThe maximum time limit for which the action can be run
    content.vpcvpc information.Appears only when the platform is vpc
    content.vpc.vpcNonumberConnected vpc No.
    content.vpc.subnetNonumberConnected subnet No.
    content.resourceIdstringAction resourceId

    Sequence Action

    {
        "content": {
            "name": "string",
            "path": "string",
            "description": "string",
            "resourceId": "string",
            "web": "boolean",
            "exec": {
                "kind": "string",
                "components": [
                  "string"
                ]
            }
        }
    }
    
    ItemTypeDescriptionRemarks
    content.namestringAction name
    content.pathstringAction path
    content.descriptionstringAction description
    content.resourceIdstringAction resourceId
    content.webbooleanWeb action setting
    content.exec.kindstringSequence action
    content.exec.componentsstring arrayLinked action list

    Was this article helpful?

    What's Next
    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.