Stream service
Stream service provides access to time-series data that has been accumulated in the channel.
Before you can use the Stream service, you must have completed the following steps.
- Creating a new device that generates a stream (see: Device service)
- Create a new channel that contains a stream (see: Channel service)
- Device and channel association (see: Device service)
Write stream
Endpoint
URI | HTTP Method |
---|---|
https://m.thingscale.io/v2/stream/ | POST |
Parameters
Retrieve stream
Endpoint
URI | HTTP Method |
---|---|
https://m.thingscale.io/v2/stream/<CHANNEL_ID> | GET |