Post Trigger External Link
    • PDF

    Post Trigger External Link

    • PDF

    Article Summary

    개요

    트리거를 호출할 수 있는 외부 연결 URL을 생성합니다. Basic 타입 트리거만 외부 연결 URL을 생성할 수 있습니다.

    요청

    요청 URL

    POST {CLOUD_FUNCTIONS_API_URL}/triggers/{triggerName}/external-link-url
    
    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으로 처리됨

    요청 바디

    {
       "productId" : "string",
       "productName" : "string",
       "apiName" : "string",
       "stageName" : "string"
    }
    
    항목필수 여부타입제약 사항설명
    productIdYesstring외부 연결 주소를 생성하기 위한 API gateway의 productId
    productNameNostring- API gateway의 productName
    productId를 찾지 못한 경우, 입력한 productName으로 새로운 product 생성
    apiNameYesstring외부 연결 주소를 생성하기 위한 API gateway의 apiName
    stageNameYesstring외부 연결 주소를 생성하기 위한 API gateway의 stageName

    응답

    응답 바디

    {
        "content": {
            "result": "ok"
        }
    }
    

    이 문서가 도움이 되었습니까?

    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.