Files
doc-exports/docs/ucs/api-ref/ListRegisteredClusterVersions.html
qiujiandong1 535e30e292 UCS API initial update 20250523 version
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2026-02-23 09:12:31 +00:00

6.6 KiB

Querying the Version List of Clusters That Can Be Connected to UCS

Function

This API is used to query the version list of clusters that can be connected to UCS.

URI

GET /v1/config/registeredclusterversions

Request Parameter

Table 1 Parameter in the request header

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Identity authentication information. Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token.

Response Parameter

Status code: 200

Table 2 Parameter in the response body

Parameter

Type

Description

versions

Array of strings

Cluster version list

Example Requests

None

Example Responses

Status code: 200

Version list of clusters that can be connected to UCS

{
  "versions" : [ "v1.19", "v1.20", "v1.21", "v1.22", "v1.23", "v1.24", "v1.25" ]
}

Status Codes

Status Code

Description

200

Version list of clusters that can be connected to UCS

Error Codes

See Error Codes.