Skip to content
SENS Platform Docs

Return the deployed platform version.

GET
/version
curl --request GET \
--url https://api.dev.iot-sens.schlossers.at/version

Returns the immutable platform version configured for the running platform-api instance. Kubernetes deployments set this value from the rendered image tag so smoke checks can verify the deployed release.

The deployed platform version.

Media typeapplication/json
object
version
required

Immutable deployed Platform SemVer. The release channel is tied to the runtime environment: -local.0 locally, -alpha.RUN.ATTEMPT in test, -rc.NUMBER in staging, and no pre-release in Production.

string
>= 1 characters /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(?:-(?:local\.0|alpha\.[1-9][0-9]*\.[1-9][0-9]*|rc\.[1-9][0-9]*))?$/
Example
{
"version": "0.1.2-local.0"
}