Return public build metadata without requiring a User session (#1059).
GET
/api/v1/version
const url = 'https://example.com/api/v1/version';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/versionRoute: /api/v1/version. Inputs: . Safe reads can use bounded retries.
Responses
Section titled “Responses”Current server build
Media typeapplication/json
Build identity shared by the SPA and server so an Installation can offer a safe update (#1059).
object
build_id
required
The Vite build id embedded into this server image.
string
version
required
The server package version.
string
Examplegenerated
{ "build_id": "example", "version": "example"}