Fleet Rules REST Endpoints

Fleet Rules
The Fleet Rules API help you to configure rules and manage their lifecycle in Fleet Monitoring. All methods of this group support a request header named 'X-Oracle-IoT-Org' with a value of an organization ID, which helps you to target requests to different organizations.
Create rule
Method: post
Path: /fleetMonitoring/clientapi/v2/rules/
Delete rule by ID
Method: delete
Path: /fleetMonitoring/clientapi/v2/rules/{rule-id}
List rules
Method: get
Path: /fleetMonitoring/clientapi/v2/rules/
Retrieve attribute names and types supported by threshold predicate
Method: get
Path: /fleetMonitoring/clientapi/v2/rules/predicate/attributes
Retrieve rule details
Method: get
Path: /fleetMonitoring/clientapi/v2/rules/{rule-id}
Update rule by ID
Method: post
Path: /fleetMonitoring/clientapi/v2/rules/{rule-id}