Get stack versionedit

Retrieves the Elastic Stack version and template.

Requestedit

GET /api/v1/stack/versions/{version}

Path parametersedit

Name Type Required Description

version

string

Y

The Elastic Stack version. For example, 5.3.1 or 5.0.0-RC4.

Responsesedit

200

(StackVersionConfig) The Elastic Stack version is found.

404

(BasicFailedReply) The Elastic Stack version can't be found. (code: stackpack.version_not_found)

Headers

x-cloud-error-codes (string; allowed values: [stackpack.version_not_found])
The error codes associated with the response

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request exampleedit

curl -XGET {{hostname}}/api/v1/stack/versions/{version} \
-H "Authorization: ApiKey $ECE_API_KEY"