GET /api/version

The current deployment id, for detecting a stale client.

Returns the running deployment identifier. Open clients poll it every 60 seconds and on tab focus, and offer a refresh when it changes.

This exists because an installed PWA can stay open for days. Without it, door staff on event night keep running whatever build they opened the app with, including the one with the bug you fixed that afternoon.

Request
curl "$XPERIENCE_ORIGIN/api/version"
200 OK
{ "version": "<opaque deployment or build identifier>" }

Treat it as opaque

Compare the value for equality; never parse it or infer ordering from it. This compatibility value is not the OpenAPI contract version. Use GET /version for structured API build metadata.

The response is sent cache-control: no-store. Polling a cached copy would defeat the entire point.