Skip to main content

lightdb-state

Latest Versionv1.0.0
Input Content Typeapplication/json
Incurs Usage

Sending data to LightDB State incurs usage costs after exceeding the free tier. See Golioth pricing for more information.

The LightDB State destination sends data to LightDB State. Data must arrive as or be transformed into JSON in order to be successfully delivered to LightDB State.

If a path is specified, it will be used to nest the message data in the device's LightDB State JSON document. If the path parameter is omitted, the stream path will be used for nesting.

Parameters

ParameterTypeDescriptionRequired
pathstringA fixed path to nest the JSON object.

Example Usage

Because LightDB State is hosted by Golioth, no credentials are required to deliver data to the service.

    destination:
type: lightdb-state
version: v1
parameters:
path: /latest/stream

Example Input

{
"temp": 32
}

Example Output

{
"latest": {
"stream": {
"temp": 32
}
}
}