ServerTime

Get server time

Returns the current server time used for synchronising the UI application clock with the server. In lower test environments the server clock may be back dated and the mode may be SIMULATED rather than REAL. The response includes the current timestamp and clock mode (REAL/SIMULATED). This endpoint is accessible to all authenticated users.

get/api-regulated/v1/server-time

Request

  • Base URL: https://api.currencyguard.com
  • URL: https://api.currencyguard.com/api-regulated/v1/server-time
  • Auth: HTTP bearer

Response

Server time retrieved successfully

nowstring

Current timestamp of the clock in ISO 8601 format

modestring

Clock mode indicating whether time is real-time or simulated

speednumber double

Clock speed (0.0 = stopped, 1.0 = normal, 2.0 = double speed)

Example response

{
  "now": "2024-10-18T12:30:40Z",
  "mode": "REAL",
  "speed": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.