Managed Service for ClickHouse API, REST: Versions.list
Returns list of available ClickHouse versions.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-clickhouse/v1/versions
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum number of results per page that should be returned. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent ListVersions requests. Default value: 100. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. Set pageToken to the nextPageToken returned by a previous ListVersions request to get the next page of results. The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"version": [
{
"id": "string",
"name": "string",
"deprecated": true,
"updatableTo": [
"string"
]
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
version[] | object Requested list of available versions. |
version[]. id |
string ID of the version. |
version[]. name |
string Name of the version. |
version[]. deprecated |
boolean (boolean) Whether version is deprecated. |
version[]. updatableTo[] |
string List of versions that can be updated from current. |
nextPageToken | string This token allows you to get the next page of results for ListVersions requests, if the number of results is larger than pageSize specified in the request. To get the next page, specify the value of nextPageToken as a value for the pageToken parameter in the next ListVerions request. Subsequent ListVersions requests will have their own nextPageToken to continue paging through the results. |