Sidebar
Datastream
Datastreams represent incoming or outgoing data points for a device in the digital customer platform, including their topic, type, and current value.Attributes
These are all attributes that can be read and updated through the API
| Name | Description | Permissions |
|---|---|---|
| name | The display name of the datastream. | READ AND UPDATE |
| type | The category or kind of datastream. | READ AND UPDATE |
| topic | The subject area or data topic associated with the datastream. | READ AND UPDATE |
| id_slug | A URL-friendly unique identifier for the datastream. | READ AND UPDATE |
Get historian data
GEThttps://dacaca59c0.autonoma.cloud/connect/v1/data/[ID]Load historian data by ID. If no parameters are set, the last value is returned. The fields must be sent as x-www-form-urlencoded parameter.
| Parameter | Description | Example |
|---|---|---|
| from | Optional The timestamp when the data shall be returned from | 2025-01-20T00:00:00.000Z |
| to | Optional The timestamp when the data shall be returned to | 2025-01-21T00:00:00.000Z |
| groupby | Optional This parameter can be used define the aggregation of the data. If not set the aggregation will be set automatically. Valid values are: 1m (minutes), 1h (hours), 1d (days) | 20m |
Get Datastream by ID
GEThttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastream/[ID]Returns a specific Datastream by ID.
Get Relations
It is possible to get related objects from Datastreams.
GEThttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastream/[ID]/[RELATION]This table shows all available resources that can be queried
| Relation | Objecttype | Relationtype | |
|---|---|---|---|
| asset | Asset | 1:1 | Show details |
Load data from Datastream
Retrieves data for the specified time range and optional grouping and aggregation parameters.
GEThttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastream/[ID]/call/dataThis table shows all available parameters
| Name | Description | Required | |
|---|---|---|---|
| from | Start date and time for the query. | required | |
| to | End date and time for the query. | required | |
| groupby | Grouping interval or unit provided to the endpoint. | ||
| aggregate | Aggregation function provided to the endpoint. | ||
| params | Additional parameters provided to the endpoint. |
Update Datastream
POSThttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastream/[ID]Update fields of Datastream by ID. The fields must be sent as x-www-form-urlencoded parameter.
Create Datastream
PUThttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastreamCreate a new Datastream.
Delete Datastream
DELETEhttps://dacaca59c0.autonoma.cloud/connect/v1/resources/datastream/[ID]Delete the resource Datastream by ID.
This action can not be reverted!
