Get Machine Update
GET {{baseUrl}}/machine/update?{{ACCESS_TOKEN}}=<>
Returns software update status. If there is an available update the field update will be true and packageDetails field will be a list of available packages in this update:
"packageDetails": [
{
"packageName": "rainmachine-app",
"newVersion": "4.0.840",
"oldVersion": "4.0.636"
}
]
Available updateStatus field codes:
STATUS_IDLE = 1
STATUS_CHECKING = 2
STATUS_DOWNLOADING = 3
-
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
{{ACCESS_TOKEN}} | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |