Metadata
Metadata about the API, such as versions.
Retrieves all MongoDB versions available for new MongoDB clusters.
Authorizations
Responses
200
Successful operation.
application/json
default
Any erroneous status code: 400 (parse error), 401 (auth error),
402 (trial access), 403 (insufficient permissions), 404 (not found),
405 (unsupported HTTP method), 415 (unsupported content type),
422 (validation error), 429 (request rate limit exceeded),
500 (server error), 503 (maintenance)
application/json
get
GET /databases/mongodb/versions HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"name": "6.0"
}
]
}
Retrieves the current version of the responding API.
Authorizations
Responses
200
Successful operation.
application/json
default
Any erroneous status code: 400 (parse error), 401 (auth error),
402 (trial access), 403 (insufficient permissions), 404 (not found),
405 (unsupported HTTP method), 415 (unsupported content type),
422 (validation error), 429 (request rate limit exceeded),
500 (server error), 503 (maintenance)
application/json
get
GET /databases/mongodb/infos/version HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"name": "v2.1",
"swaggerUrl": "https://api.ionos.com/databases/mongodb/infos/assets/swagger-v2.1.yml"
}
Retrieves all available versions of the responding API.
Authorizations
Responses
200
Successful operation.
application/json
default
Any erroneous status code: 400 (parse error), 401 (auth error),
402 (trial access), 403 (insufficient permissions), 404 (not found),
405 (unsupported HTTP method), 415 (unsupported content type),
422 (validation error), 429 (request rate limit exceeded),
500 (server error), 503 (maintenance)
application/json
get
GET /databases/mongodb/infos/versions HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
[
{
"name": "v2.1",
"swaggerUrl": "https://api.ionos.com/databases/mongodb/infos/assets/swagger-v2.1.yml"
}
]
Was this helpful?