Get stack version

Retrieves the Elastic Stack version and template.

Request

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

Path parameters

Name Type Required Description

version

string

Y

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

Responses

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 example

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