Post Action
    • PDF

    Post Action

    • PDF

    Article Summary

    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

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

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    platformNostring(classic | vpc)- Platform type
    Processed as default classic
    timeoutNointMAX 60000Set 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"
        }
    }
    
    ItemTypeDescriptionRemarks
    content.activationIdstringActivation ID of the action
    content.durationintExecution time
    content.starttimestampTime when activation has started
    content.endtimestampTime when action activation has ended
    content.namestringAction name
    content.namespacestringNamespace of the user
    content.responseAction activation result information
    content.subjectstringInformation on the user who executed the action

    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.