-
Notifications
You must be signed in to change notification settings - Fork 1
HTTP Interface v1 Zones
Shows a list of organisation Zones in the controller, that are present at the root level.
The following query parameters alter the result, and can be mixed.
Parameter | Effect |
---|---|
include=devices | Includes a devices stanza in each zone with all of the devices in that zone, devices may be duplicated in the whole response if a member of multiple zones. |
include=subzones | Includes all zones recursively, allowing retrieval of the whole tree. |
Creates a new zone.
{
"Name": <name of zone>
}
Shows the specified zone, also permits all options that the root list permits.
Deletes the specified zone, zone must have no children or member devices.
Modifies the zones metadata.
{
"Name": <name of zone>,
"ReorderBefore": <id of zone to place this zone before>,
"ReorderAfter": <id of zone to place this zone after>
}
All parameters are optional in the body, while ReorderBefore
and ReorderAfter
can both be specified, ReorderAfter
will take priority. A zone can only be reordered within the same parent zone, a zone must be moved to the new parent before it can be reordered.
Adds a device to the zone.
Removes a device from the zone.
Moves a zone to be a sub zone of the first zone, zones can not include circular references and will error if requested.
Orphans a zone back to be at the zone root.
Getting Started
HTTP Interface (v1)
Capability Actions