...
Returns an array of the children of the Picopico. Has optional parameter "name" which returns just the attributes for the child with the specific name if it exists, otherwise it returns attributes on every child if not provided. It gives attributes:
-parent_eci: The eci ECI from the Pico to picoto the respective child
-name: The child Picopico's name
-id: The id of the child Picochild pico
-eci: The main wrangler eci ECI for the child Picochild pico
Code Block | ||||
---|---|---|---|---|
| ||||
children = wrangler:children()
/*
[
{
"parent_eci": "CyrmdG4PkiVYRUo2K69k2E",
"name": "Section CS462-1 Pico",
"id": "cjh6pbzun005zvde06bwy2pci",
"eci": "JfcEBxEK5WDKA69Bvach4Y"
},
{
"parent_eci": "Tg5ULPBYByJjsEoKpfsbQ2",
"name": "Section CS462-2 Pico",
"id": "cjh6pc28r0067vde04qd23t6o",
"eci": "56S414r4Uq4kGx6Xi1qmSs"
}
]
*/ |
myself()
Returns a map giving basic meta information about the pico. This information includes the pico's ID, ECI, and name.
id: The ID of the pico
eci: The main wrangler ECI of the pico
name: The name of the pico
Code Block | ||||
---|---|---|---|---|
| ||||
myself_result = wrangler:myself()
/*
{
"id": "cjhtji2op009hpkrq35bcpodh",
"eci": "4bUS9W4HY5S1YfsAM9Ygw5",
"name": "Front Porch"
}
*/ |
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.
...