Create Device Power Action

POST {{baseUrl}}/v1/device/:deviceUid/power-action

Perform device power action by deviceUid.

Send Power action to a device – restart, shutdown/turn off, turn on, restart an android app, refresh applet and reload applet.

  • APP_RESTART – Restart App on the display and clear HTML caches
  • SYSTEM_REBOOT – Restart device
  • APPLET_RELOAD – Hard reload of saved content and files
  • APPLET_REFRESH – Soft refresh of an applet (like F5)
  • DISPLAY_POWER_ON – Turn on display (not chip)
  • DISPLAY_POWER_OFF – Turn off display (not chip)
  • APPLET_DISABLE – Disable applet for the current session and show basic device info
  • APPLET_ENABLE – Enable applet again for the current session and show the current applet

Parameters

FieldTypeRequiredDescription
deviceUidstringRequiredUnique Device Identification

Body

content-type: application/json or application/x-www-form-urlencoded

FieldTypeDescription
devicePowerActionstring - ‘APPRESTART’ ‘SYSTEMREBOOT’ ‘APPLETRELOAD’ ‘APPLETREFRESH’ ‘DISPLAYPOWERON’ ‘DISPLAYPOWEROFF’ ‘APPLETDISABLE’ ‘APPLETENABLE’the Power action type, UPPERCASE

HEADERS

KeyDatatypeRequiredDescription
x-authstringAuthorization key and token
Content-Typestring
Content-Typestring
Acceptstring

RESPONSES

status: OK

{}