Get stack versions
By default, retrieves only the available Elastic Stack versions. To retrieve all of the Elastic Stack versions, use the show_deleted parameter
.
Query parameters
-
show_deleted boolean
Whether to show deleted stack versions or not
Default value is
false
. -
show_unusable boolean
Whether to show versions that are unusable by the authenticated user
Default value is
false
.
GET /stack/versions
curl \
-X GET https://{{hostname}}/api/v1/stack/versions
Response examples (200)
{
"stacks": [
{
"version": "string",
"template": {
"template_version": "string",
"hashes": [
{
"path": "string",
"hash": "string"
}
]
},
"elasticsearch": {
"docker_image": "string",
"plugins": [
"string"
],
"default_plugins": [
"string"
],
"blacklist": [
"string"
],
"node_types": [
{
"node_type": "string",
"name": "string",
"description": "string",
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
],
"mandatory": true
}
],
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
]
},
"kibana": {
"version": "string",
"docker_image": "string",
"blacklist": [
"string"
],
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
]
},
"apm": {
"version": "string",
"docker_image": "string",
"blacklist": [
"string"
],
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
]
},
"appsearch": {
"version": "string",
"docker_image": "string",
"blacklist": [
"string"
],
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
],
"node_types": [
{
"node_type": "string",
"name": "string",
"description": "string",
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
],
"mandatory": true
}
]
},
"enterprise_search": {
"version": "string",
"docker_image": "string",
"blacklist": [
"string"
],
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
],
"node_types": [
{
"node_type": "string",
"name": "string",
"description": "string",
"settings": {},
"capacity_constraints": {
"min": 42,
"max": 42
},
"compatible_node_types": [
"string"
],
"mandatory": true
}
]
},
"metadata": {
"notes": "string",
"pre_release": true,
"min_platform_version": "string",
"min_wire_compatibility_version": "string",
"min_index_compatibility_version": "string",
"schema_version": 42
},
"deleted": true,
"upgradable_to": [
"string"
],
"min_upgradable_from": "6.7.0",
"whitelisted": true,
"accessible": true
}
]
}