database

Get database type versions

Returns a list of supported Managed Database service versions.

get/1.3/database/versions

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/database/versions
  • Auth: HTTP bearer

Response

OK

major_versionstring required

The major version of the service

service_type'mysql' | 'pg' | 'opensearch' | 'valkey' required

The type of service (e.g., mysql, pg, opensearch, valkey)

state'available' | 'preview' required

The availability state of the version

end_of_life_timestring date-time nullable

The date when this version reaches end of life

availability_end_timestring date-time nullable

The date when this version will no longer be available for new services

availability_start_timestring date-time nullable

The date when this version became available

termination_timestring date-time nullable

The date when services running this version will be terminated

upgrade_to_service_typestring date-time nullable

The service type to upgrade to when this version reaches end of life

upgrade_to_versionstring nullable

The version to upgrade to when this version reaches end of life

upstream_end_of_life_timestring date-time nullable

The upstream end of life date for this version

Example response

[
  {
    "major_version": "8",
    "service_type": "mysql",
    "state": "available",
    "end_of_life_time": null,
    "availability_end_time": null,
    "availability_start_time": "2019-05-10T00:00:00Z",
    "termination_time": null,
    "upgrade_to_service_type": null,
    "upgrade_to_version": null,
    "upstream_end_of_life_time": null
  },
  {
    "major_version": "16",
    "service_type": "pg",
    "state": "available",
    "end_of_life_time": "2028-11-09T00:00:00Z",
    "availability_end_time": "2028-05-09T00:00:00Z",
    "availability_start_time": "2024-01-08T00:00:00Z",
    "termination_time": null,
    "upgrade_to_service_type": null,
    "upgrade_to_version": null,
    "upstream_end_of_life_time": "2028-11-09T00:00:00Z"
  },
  {
    "major_version": "2",
    "service_type": "opensearch",
    "state": "available",
    "end_of_life_time": null,
    "availability_end_time": null,
    "availability_start_time": "2022-07-12T00:00:00Z",
    "termination_time": null,
    "upgrade_to_service_type": null,
    "upgrade_to_version": null,
    "upstream_end_of_life_time": null
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.