Service: Zone
| This API is officially released and maintained. | 
The zone service allows getting, configuring, deleting and receiving updates of the configured zones.
| Method | Request | Response | 
|---|---|---|
| ZoneWatchResponseStream | ||
List
Returns the configured zones
Response
Response containing the configured list of zones
| Field | Type | Default | Unit | 
|---|---|---|---|
| zones | repeated config.ZoneAlgorithm | - | - | 
| The currently configured zones | |||
Store
Store / Update a zone
Watch
Watch configuration for zone list
Response Stream
Continuous response on zone list changes
| Field | Type | Default | Unit | 
|---|---|---|---|
| zones | repeated config.ZoneAlgorithm | - | - | 
| The current/updated list of zones | |||
GetTareVolume
Computes raw volume within a volume zone without any offsets.
Request
Request for the raw volume to be used for taring a volume zone
| Field | Type | Default | Unit | 
|---|---|---|---|
| zone_uuid | string | - | - | 
| The uuid of the volume zone | |||
Response
Response containing the raw volume of the requested zone
| Field | Type | Default | Unit | 
|---|---|---|---|
| tare_volume | float | - | m^3 | 
| The raw volume of the volume zone without any offsets/modifications. The value is supposed to be configured as 'empty_volume' value of a volume zone. As a result the current volume of the zone will be '0' until more volume is added. | |||