Metadata

All metadata about the API, like versions.

PostgreSQL versions for new clusters

get

Retrieves a list of available PostgreSQL versions for new clusters.

Authorizations
Responses
200
Successful operation.
application/json
get
GET /databases/postgresql/versions HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
  "data": [
    {
      "name": "14"
    }
  ]
}

Get the current API version

get

Retrieves the current version of the responding API.

Authorizations
Responses
200
Successful operation.
application/json
get
GET /databases/postgresql/infos/version HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
  "name": "v2.1",
  "swaggerUrl": "https://api.ionos.com/databases/postgres/infos/assets/swagger-v2.1.yml"
}

Fetch all API versions

get

Retrieves all available versions of the responding API.

Authorizations
Responses
200
Successful operation.
application/json
get
GET /databases/postgresql/infos/versions HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
[
  {
    "name": "v2.1",
    "swaggerUrl": "https://api.ionos.com/databases/postgres/infos/assets/swagger-v2.1.yml"
  }
]

Was this helpful?