...
For all functions, enter the parameters in the order listed.
children()
Returns an array of the children of the Pico. For each child it gives attributes:
-parent_eci: The eci from the Pico to the respective child
-name: The child Pico's name
-id: The id of the child Pico
-eci: The main wrangler eci for the child Pico
skyQuery
A user friendly way to make an HTTP request. It provides cleanup and returns the error if the returned HTTP status was not 200.
...
Installs the given rulesets in the pico that receives this event.
eventAttrs:
Attribute | Datatype | Required | Additional Description |
---|---|---|---|
<rids> | <array> OR <string> | YES | The array is an array of strings, where each string represents the name of the ruleset (the RID) to be installed. You may alternatively provide a single string that is separated by semicolons. Multiple rulesets are not required. |
Directives Returned:
Code Block |
---|
send_directive("rulesets installed", { "rids": /* An array of rids that were installed*/ }); |
Raised Events:
Domain | Type | Attributes Added | ||
---|---|---|---|---|
wrangler | ruleset_added |
|
Sent Events:
None