All Products
Search
Document Center

Edge Security Acceleration:ListVersions

Last Updated:Jul 16, 2026

Queries the version list of a site.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SiteId

integer

Yes

The site ID. You can call the ListSites operation to obtain the site ID.

33968830844****

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

7EBEC214-805D-5FE9-AEED-258FE0F8850F

SiteVersionList

array<object>

The version list of the site.

object

SiteVersion

integer

The site version.

8

ParentSiteVersion

integer

The parent version of the site version.

1

ReadOnly

boolean

Indicates whether the version is read-only. Default value: false.

false

CreateTime

string

The creation time.

2024-06-15T17:41:27+08:00

UpdateTime

string

The update time.

2024-06-15T17:41:27+08:00

Status

string

The status. Valid values:

  • online: active.

  • configuring: being configured.

  • configure_faild: configuration failed.

online

EnvironmentNameList

array

The environment list of the site version. The version may have no environment or one or more environments configured, such as the default environment or environment 2.

string

The specific environment.

默认环境

Description

string

The description.

站点A使用多个环境。

Examples

Success response

JSON format

{
  "RequestId": "7EBEC214-805D-5FE9-AEED-258FE0F8850F",
  "SiteVersionList": [
    {
      "SiteVersion": 8,
      "ParentSiteVersion": 1,
      "ReadOnly": false,
      "CreateTime": "2024-06-15T17:41:27+08:00",
      "UpdateTime": "2024-06-15T17:41:27+08:00",
      "Status": "online",
      "EnvironmentNameList": [
        "默认环境"
      ],
      "Description": "站点A使用多个环境。"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalError An internal exception occurred, please try again later. An inner exception was triggered. Please try again later.
400 Site.ServiceBusy This website is being configured. Try again later. This website is being configured. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.