Liveness and server/rules versions
GET
/health
const url = 'https://api.fortemate.com/health';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://api.fortemate.com/healthPublic build metadata. rulesVersion is the resolved dicechess-rules dependency used to validate turns, independent of the server build version. It is also sent in each game snapshot and webhook state, so no per-turn metadata request is necessary. If it differs from the client’s bundled rules version, or is unknown on an older server, fetch GET /games/{id}/moves instead of computing legal turns locally.
Responses
Section titled “Responses”Server is alive.
Media typeapplication/json
object
status
required
string
version
required
Server build version.
string
rulesVersion
required
Resolved dicechess-rules dependency version used by the server to validate turns.
string
Example
{ "status": "ok"}