Stream time-series data for a signal
GET/timeseries/:signalId/stream
Streams the signal's data points over the resolved time range as newline-delimited JSON (application/x-ndjson), each entry a timestamp/value pair. For transient signals the data is produced on the fly via the hetida designer instead of from stored time series.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- default
OK. If the stream breaks off after its first lines were sent - the status is already 200 - it ends with one TimeseriesStreamErrorDto line instead of a data point (HET-1985). A reader that meets a line with an error member has an incomplete series, not a short one.
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
the default error response