Create an Operation Rule
Authentication
Path parameters
Request
Human-readable name of the rule.
Operation code within the operation type (e.g. power_on).
Executable definition of a rule. Mirrors Flow’s wire schema 1:1 so existing
YAML rule files can be converted to JSON without any key renaming
(nested fields use snake_case).
Optional free-form description.
Response
Human-readable name of the rule. Required and non-empty.
Operation code within the operation type (e.g. power_on, power_off,
upgrade). Server-side validated against Flow’s allow-list for the type.
Immutable after creation.
Executable definition of a rule. Mirrors Flow’s wire schema 1:1 so existing
YAML rule files can be converted to JSON without any key renaming
(nested fields use snake_case).
Whether this rule is currently the default for its (operationType, operationCode) tuple.
Optional free-form description.