REST API Test Page

Operation

PUT on /setup/devices/{deviceURL}/states/{name}/{stateType}/{stateValue}

Update a device persistent state

Produces : application/json

Parameters

Name Type Value Description
deviceURL Path Variable * Device URL to update
name Path Variable * The target state name (ex: core:DummyState)
stateType Path Variable * Type of the state value
stateValue Path Variable * State value as string.

  

Result

HTTP Status :