Upload stack pack
- POST /stack/versions
Creates or updates an Elastic Stack pack and template.
The endpoint supports multipart/form-data requests, as well as application/zip and application/octet-stream requests with a binary body. The maximum size of the payload is 1Mb.
When the archive contains an Elastic Stack configuration that is available through the API, the configuration and template are overwritten.
Responses
The Elastic Stack pack successfully processed.
-
stacksobjectrequired -
elasticsearchobjectrequired -
The Elasticsearch configuration for an Elastic Stack version.
-
appsearchobject -
AppSearch related configuration of an Elastic Stack version
-
enterprise_searchobject -
EnterpriseSearch related configuration of an Elastic Stack version
-
metadataobject -
The metadata for the Elastic Stack.
-
pre_releaseboolean -
Indicates that the stack pack version is not GA and is not supposed to be used in production
-
min_platform_versionstring -
The minimum version of the platform that the stack pack version is compatible with
-
min_wire_compatibility_versionstring -
The minimum version required for performing a rolling upgrade to this stack version.
-
whitelistedboolean -
Whether or not this version is whitelisted. This is only relevant in EC (SaaS) and is not sent in ECE.
- There is an error in the file. Choose a different file, then try again. (code:
stackpack.bad_archive) - Some unexpected error occurred. (code:
stackpack.unknown_internal_error)