AutomationRuleManager Trait (rmgr)

Experimental trait for managing automation rules.

AttributeValue
Idtag:google.com,2018:m2m:traits:rule-manager:v1:v0#r0
Short-Idrmgr
Has-Childrenyes

Metadata Properties

NameKeyRWReqDescription
TraitURIm/rmgr/turiXXThe URI that uniquely identifies the specification used to implement this trait.

m/rmgr/turi : TraitURI

The URI that uniquely identifies the specification used to implement this trait.

AttributeValue
Value TypeURI-reference
FlagsCONST, REQ

Methods

KeyDescription
f/rmgr?createCreates a new automation rule.

f/rmgr?create : Create

Creates a new automation rule.

ArgReqReturnsDescription
actmtext stringMethod for a single action.
enbooleanDetermines if the created rule will be immediately enabled or not.
nametext stringDescriptive name for the created rule.
recybooleanDetermines if the created pairing should be recyclable.
mtchtext string
actbsplot valueBody for a single action.
actpURI-referencePath for a single action.
actiarray containing maps of nullable splot valuesList of Actions.
condarray containing maps of nullable splot valuesList of conditions

Returns URI for the created rule.