Path parameters
-
The Elastic Stack version. For example,
5.3.1
or5.0.0-RC4
.
Body Required
Elastic Stack configuration object
-
The Elasticsearch configuration for an Elastic Stack version.
Additional properties are allowed.
-
The Kibana configuration for an Elastic Stack version.
Additional properties are allowed.
-
apm object
The APM Server configuration for an Elastic Stack version.
Additional properties are allowed.
-
integrations_server object
The Integrations Server configuration for an Elastic Stack version.
Additional properties are allowed.
-
appsearch object
AppSearch related configuration of an Elastic Stack version
Additional properties are allowed.
-
enterprise_search object
EnterpriseSearch related configuration of an Elastic Stack version
Additional properties are allowed.
-
metadata object
The metadata for the Elastic Stack.
Additional properties are allowed.
PUT /stack/versions/{version}
curl \
-X PUT https://{{hostname}}/api/v1/stack/versions/{version} \
-d '{"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"]},"integrations_server":{"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}}'
Request examples
{
"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"
]
},
"integrations_server": {
"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
}
}
Response examples (200)
{
"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
}
Response examples (404)
# Headers
x-cloud-error-codes: stackpack.missing_platform_version
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}