Post Trigger Link Action
    • PDF

    Post Trigger Link Action

    • PDF

    Article Summary

    概要

    トリガーとアクションを接続します。

    リクエスト

    リクエストのURL

    POST {CLOUD_FUNCTIONS_API_URL}/triggers/{triggerName}/link-action
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Path Variables

    項目RequiredType説明
    triggerNameYesstringトリガー名

    リクエストパラメータ

    項目RequiredType制約事項説明
    platformNostring(classic | vpc)プラットフォームタイプ。default classicで処理されます。

    リクエストのBody

    {
    	"action" : "string",
    	"package" : "string"
    }
    
    項目RequiredType制約事項説明
    actionYesstringトリガーと接続するアクション名
    packageYesstringトリガーと接続するアクションのパッケージ名

    レスポンス

    レスポンスのBody

    {
        "content": {
            "action": {
                "name": "string",
                "path": "string"
            },
            "namespace": "string",
            "status": "string",
            "trigger": {
                "name": "string",
                "path": "string"
            }
        }
    }
    
    項目Type説明備考
    content.action.namestringアクション名
    content.action.pathstringアクション情報
    content.namespacestringユーザーの名前空間
    content.statusstringトリガーとアクションの接続状態
    content.trigger.namestringトリガー名
    content.trigger.pathstringトリガー情報

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

    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.