Loading...
Overview

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
paths Locations in ordered-item trees, identified by tree_id and group path. READ ONLY

Get historian data

GEThttps://e039b052b5.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://e039b052b5.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://e039b052b5.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 a specified time range and optional grouping or aggregation settings.

GEThttps://e039b052b5.autonoma.cloud/connect/v1/resources/datastream/[ID]/call/data

This table shows all available parameters

Name Description Required
from Start datetime for the data request. required
to End datetime for the data request. required
groupby Grouping interval or key used for the request.
aggregate Aggregation method used for the request.
params Additional parameters for the request.

Update Datastream

POSThttps://e039b052b5.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://e039b052b5.autonoma.cloud/connect/v1/resources/datastream

Create a new Datastream.


Delete Datastream

DELETEhttps://e039b052b5.autonoma.cloud/connect/v1/resources/datastream/[ID]

Delete the resource Datastream by ID.

Top Top