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

KeyDatatypeRequiredDescription
{{ACCESS_TOKEN}}string

HEADERS

KeyDatatypeRequiredDescription
Acceptstring