Service: Zone

This API is officially released and maintained.

The zone service allows getting, configuring, deleting and receiving updates of the configured zones.

Table 1. Available methods
Method Request Response

List

google.protobuf.Empty

ZoneListResponse

Store

ZoneStoreRequest

google.protobuf.Empty

Delete

ZoneDeleteRequest

google.protobuf.Empty

Watch

google.protobuf.Empty

ZoneWatchResponseStream

GetTareVolume

ZoneGetTareVolumeRequest

ZoneGetTareVolumeResponse

List

Returns the configured zones

Response

Response containing the configured list of zones

Table 2. Available fields in blickfeld.percept_pipeline.services.ZoneListResponse
Field Type Default Unit

zones

repeated config.ZoneAlgorithm

-

-

The currently configured zones

Store

Store / Update a zone

Request

Request to store or update an existing zone

Table 3. Available fields in blickfeld.percept_pipeline.services.ZoneStoreRequest
Field Type Default Unit

zone

config.ZoneAlgorithm

-

-

The new zone to be added. If there is a zone with the same uuid, that zone will get updated with this configuration.

Delete

Delete a zone

Request

Request to delete a zone

Table 4. Available fields in blickfeld.percept_pipeline.services.ZoneDeleteRequest
Field Type Default Unit

uuid

string

-

-

The uuid of the zone to be deleted

Watch

Watch configuration for zone list

Response Stream

Continuous response on zone list changes

Table 5. Available fields in blickfeld.percept_pipeline.services.ZoneWatchResponse
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

Table 6. Available fields in blickfeld.percept_pipeline.services.ZoneGetTareVolumeRequest
Field Type Default Unit

zone_uuid

string

-

-

The uuid of the volume zone

Response

Response containing the raw volume of the requested zone

Table 7. Available fields in blickfeld.percept_pipeline.services.ZoneGetTareVolumeResponse
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.