Segment
A description of a well-defined set of sensor data collected by a thing.
A segment is a description of a concrete set of time series data that was identified by rules as being significant for a particular business scenario (for example, a truck entering a geofence that represents a warehouse location). In addition, a segment can also be manually defined (that is, without the help of rules) by specifying a thing of interest plus start and end date for the time series data to be considered.
Base URI:/v1/segments
Permissions: seg.cud, seg.r
Methods
| HTTP Method | Action | URI |
|---|---|---|
| POST | Create a Segment | /v1/segments |
| GET | Read a Segment | /v1/segments/<segment ID> |
| GET | Read all Segments | /v1/segments |
| PATCH | Update a Segment | /v1/segments/<segment ID> |
| DELETE | Delete a Segment | /v1/segments/<segment ID> |