Post Trigger External Link
- Print
- PDF
Post Trigger External Link
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Creates an external link URL that allows for calling a trigger.
Only the basic type trigger can create an external link URL.
Request
Request 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
Parameter | Required | Type | Description |
---|---|---|---|
triggerName | Yes | string | Name of the trigger |
Request Parameters
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
platform | No | string | (classic | vpc) | Platform type. It is processed as default classic. |
Request Body
{
"productId" : "string",
"productName" : "string",
"apiName" : "string",
"stageName" : "string"
}
Parameter | Required | Type | Limits | Description |
---|---|---|---|---|
productId | Yes | string | productId of the API gateway for creating an external link address | |
productName | No | string | productName of the API gateway. If productId is not found, a new product is created with an entered productName. | |
apiName | Yes | string | apiName of the API gateway for creating an external link address | |
stageName | Yes | string | stageName of the API gateway for creating an external link address |
Response
Response Body
{
"content": {
"result": "ok"
}
}
Was this article helpful?