rules | R Documentation |
rules
endpointsHue API: rules
endpoints
create_rule(name, conditions, actions) get_rules() get_rule(id) set_rule_attributes(id, name, conditions, actions) delete_rule(id)
name |
name to assign to the rule |
conditions |
a list of conditions (e.g. the result of a call to
|
actions |
a list of actions (e.g. the result of a call to
|
id |
ID of a specific rule |
Requests that create resources return the ID of the newly created
item, requests with side effects return TRUE
upon success, and GET
requests return the response content, parsed into a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.