Get Action
    • PDF

    Get Action

    • PDF

    Article Summary

    概要

    特定アクションを照会します。

    リクエスト

    リクエスト 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

    パラメータ要否タイプ説明
    packageNameYesstring- パッケージ名
    packageに属していない actionを照会する場合、packageNameに-を入力
    actionNameYesstringアクション名

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    platformNostring(classic | vpc)- プラットフォームタイプ
    default classicで処理

    レスポンス

    レスポンスボディ

    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"
        }
    }
    
    項目タイプ説明備考
    content.namestringアクション名
    content.pathstringアクションの path
    content.descriptionstringアクションの説明
    content.webbooleanウェブアクション設定
    content.raw-httpbooleanHTTP原文使用の有無
    content.custom-optionsbooleanヘッダオプションの設定
    content.parametersobjectアクションのデフォルトパラメータ
    content.exec.binarybooleanコードのファイルバイナリの有無
    content.exec.codestringソースコード
    content.exec.kindstring使用言語
    content.exec.mainstringコード内の実行する関数
    content.limits.memorynumberアクションコンテナに割り当てられるメモリサイズ
    content.limits.timeoutnumberアクションが実行される最大時間
    content.vpcvpc情報。Platformが vpcの場合にのみ表示
    content.vpc.vpcNonumber連携された vpcの No
    content.vpc.subnetNonumber連携された subnetの No
    content.resourceIdstringアクションの resourceId

    Sequence Action

    {
        "content": {
            "name": "string",
            "path": "string",
            "description": "string",
            "resourceId": "string",
            "web": "boolean",
            "exec": {
                "kind": "string",
                "components": [
                  "string"
                ]
            }
        }
    }
    
    項目タイプ説明備考
    content.namestringアクション名
    content.pathstringアクションの path
    content.descriptionstringアクションの説明
    content.resourceIdstringアクションの resourceId
    content.webbooleanウェブアクション設定
    content.exec.kindstringシーケンスアクション
    content.exec.componentsstring array接続されたアクションリスト

    この記事は役に立ちましたか?

    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.