Updated on 2024-04-30 GMT+08:00

Querying the Cluster Version List

Function

This API is used to query the list of cluster versions that are supported by UCS.

URI

GET /v1/config/registeredclusterversions

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Identity authentication information

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

versions

Array of strings

Cluster version list

Example Requests

None

Example Responses

Status code: 200

List of supported cluster versions

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

Status Codes

Status Code

Description

200

List of supported cluster versions

Error Codes

See Error Codes.