Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added rough documentation for wrangler:children() function

...

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:

AttributeDatatypeRequiredAdditional Description
<rids><array> OR <string>YESThe 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:

DomainTypeAttributes Added
wranglerruleset_added


Code Block
{
"rids": /* An array of rids that were installed*/
}


Sent Events:

None