Clones a new site version based on a specified site version.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. You can call the ListSites operation to obtain the site ID. |
15846237886**** |
| SiteVersion |
integer |
Yes |
The site version number to be cloned. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0AEDAF20-4DDF-4165-8750-47FF9C1929C9 |
| OriginVersion |
integer |
The version number that was cloned. |
0 |
| CloneVersion |
integer |
The version number of the cloned version. |
1 |
Examples
Success response
JSON format
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
"OriginVersion": 0,
"CloneVersion": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | This website is being configured. Try again later. |
| 400 | QuotaCheckFailed.VersionManagement | Insufficient quota for version management. Contact technical support. | Insufficient quota for version management. Contact technical support. |
| 400 | SiteVersion.NotExist | The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again. | The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again. |
| 400 | SiteVersion.Configuring | The version is being configured. Try again later. | The version is being configured. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.