Post Action External Link
- Print
- PDF
Post Action External Link
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Create an external connection URL that can invoke the action.
Request
Request URL
POST {CLOUD_FUNCTIONS_API_URL}/packages/{packageName}/actions/{actionName}/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 |
---|---|---|---|
packageName | Yes | string | Name of the package. If you want to get information about an action that's not contained in the package, enter - for the packageName. |
actionName | Yes | string | Name of the action |
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 API gateway to generate external link | |
productName | No | string | ProductName of the API gateway. If productId is not found, a new product is created with the productName. | |
apiName | Yes | string | ApiName of API gateway to generate external link | |
stageName | Yes | string | StageName of API gateway to generate external link |
Response
Response Body
{
"content": {
"result": "ok"
}
}
Was this article helpful?