Publishes the Dynamic Route for CDN (DCDN) configurations from the staging environment to the production environment.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | PublishDcdnStagingConfigToProduction |
The operation that you want to perform. Set the value to PublishDcdnStagingConfigToProduction. |
DomainName | String | Yes | example.com |
The name of the accelerated domain. You can specify only one domain name. |
FunctionName | String | Yes | aliauth |
The name of the feature. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http://dcdn.aliyuncs.com/?Action=PublishDcdnStagingConfigToProduction
&DomainName=example.com
&FunctionName=aliauth
&<Common request parameters>
Sample success responses
XML
format
<PublishDcdnStagingConfigToProductionResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</PublishDcdnStagingConfigToProductionResponse>
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | StagingConfig.NotFound | The staging configuration does not exist. | The error message returned because the configuration does not exist in the staging environment. |
400 | StagingConfig.Failed | The rules for the staging environment are being configured. Try again later. | The error message returned because the rules for the staging environment are being configured. |
For a list of error codes, visit the API Error Center.