reaction/:id

Return detail for the reaction identified by id

Example (GET): curl -o - 'http://host-ip:8111/api/v1/reaction/re-knkd8u8v'

{
    "id": "re-knkd8u8v",
    "name": "Hubitat Mode",
    "serial": 2,
    "mdt": 1618584039549,
    "actions": [{
        "type": "entity",
        "data": {
            "entity": "hubitat>sys_mode",
            "action": "x_hubitat_sys_mode.set",
            "args": {
                "mode": "Night"
            }
        }
    }]
}

reaction/:id/run

Starts the reaction identified by id

Example (GET): curl -o - 'http://host-ip:8111/api/v1/reaction/re-knkd8u8v/run'

reaction/:id/stop

Stops the reaction identified by id

Example (GET): curl -o - 'http://host-ip:8111/api/v1/reaction/re-knkd8u8v/stop'

reaction/:id/enable

Enables the reaction identified by id

Example (GET): curl -o - 'http://host-ip:8111/api/v1/reaction/re-knkd8u8v/enable'

reaction/:id/disable

Disables the reaction identified by id

Example (GET): curl -o - 'http://host-ip:8111/api/v1/reaction/re-knkd8u8v/disable'