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

    パラメータ必須有無タイプ説明
    triggerNameYesstringトリガー名

    リクエストパラメータ

    パラメータ名必須有無タイプ制限事項説明
    platformNostring(classic | vpc)- プラットフォームタイプ
    default classicとして処理

    リクエストボディ

    {
    	"action" : "string",
    	"package" : "string"
    }
    
    項目必須有無タイプ制限事項説明
    actionYesstringトリガーと関連付けるアクション名
    packageYesstringトリガーと関連付けるアクションのパッケージ名

    レスポンス

    レスポンスボディ

    {
        "content": {
            "action": {
                "name": "string",
                "path": "string"
            },
            "namespace": "string",
            "status": "string",
            "trigger": {
                "name": "string",
                "path": "string"
            }
        }
    }
    
    項目タイプ説明備考
    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.