Get stack versions
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
GET
/stack/versions
Stack
show_deleted parameter
.请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/stack/versions' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
{
"stacks": [
{
"accessible": true,
"min_upgradable_from": "6.7.0",
"deleted": true,
"whitelisted": true,
"kibana": {
"settings": {},
"blacklist": [
"string"
],
"version": "string",
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"docker_image": "string"
},
"upgradable_to": [
"string"
],
"version": "string",
"elasticsearch": {
"settings": {},
"node_types": [
{
"mandatory": true,
"name": "string",
"settings": {},
"node_type": "string",
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"description": "string"
}
],
"blacklist": [
"string"
],
"plugins": [
"string"
],
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"default_plugins": [
"string"
],
"docker_image": "string"
},
"template": {
"hashes": [
{
"path": "string",
"hash": "string"
}
],
"template_version": "string"
},
"apm": {
"settings": {},
"blacklist": [
"string"
],
"version": "string",
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"docker_image": "string"
},
"appsearch": {
"settings": {},
"node_types": [
{
"mandatory": true,
"name": "string",
"settings": {},
"node_type": "string",
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"description": "string"
}
],
"blacklist": [
"string"
],
"version": "string",
"capacity_constraints": {
"max": 0,
"min": 0
},
"compatible_node_types": [
"string"
],
"docker_image": "string"
},
"metadata": {
"pre_release": true,
"min_wire_compatibility_version": "string",
"schema_version": 0,
"min_index_compatibility_version": "string",
"min_platform_version": "string",
"notes": "string"
}
}
]
}
请求参数
Query 参数
show_deleted
可选
show_unusable
可选
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}