SmartGare
API referenceEndpoints

Start the day again from the saved starting point

Puts the server's data and station time back to the saved starting point — the station time may go back — and answers the restored station time. The server then restarts, and is unavailable until it is up again. **Required permission:** `platform.clock:move`

POST/platform/v1/clock/restart-day

Puts the server's data and station time back to the saved starting point — the station time may go back — and answers the restored station time. The server then restarts, and is unavailable until it is up again.

Required permission: platform.clock:move

AuthorizationBearer <token>

In: header

Response Body

*/*

*/*

curl -X POST "https://example.com/platform/v1/clock/restart-day"
{  "movable": true,  "now": "2019-08-24T14:15:22Z",  "offset_seconds": 0,  "real_now": "2019-08-24T14:15:22Z",  "zone": "string"}