Publishes the configurations of an accelerated domain name from the canary release environment to the production environment.

Usage note

Function name is required for calling this operation. You can get the function name by calling the DescribeLiveDomainStagingConfig operation.

QPS limit

A single user can perform a maximum of 30 queries per minute. Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes PublishLiveStagingConfigToProduction

The operation that you want to perform. Set the value to PublishLiveStagingConfigToProduction.

DomainName String Yes example.com

The accelerated domain name.

FunctionName String Yes aliauth

The name of the feature. For more information about how to obtain the feature name, see DescribeLiveDomainStagingConfig.

RegionId String No cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=PublishLiveStagingConfigToProduction
&DomainName=example.com
&FunctionName=aliauth
&<Common request parameters>

Sample success responses

XML format

<PublishLiveStagingConfigToProductionResponse>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</PublishLiveStagingConfigToProductionResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

For a list of error codes, visit the API Error Center.