sync-time
Use the interface to synchronize clock with UTC with administrative right.
To ensure that the system time is accurate, it is recommended to sync after administrative login.
HTTP Request
GET http://ip/mwapi?method=sync-time&date=xxx&time=xxx
Parameter | Description |
---|---|
method | sync-time |
date | UTC date format: dd/MM/yyyy |
time | UTC time format: HH:mm:ss |
Response Body
{
"status": 0
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
Example
http://192.168.66.1/mwapi?method=sync-time&date=03%2F19%2F2019&time=07:02:26