Skip to main content

LightDB

LightDB Device Service definitions over CoAP.

How to use guides:

Interface

MethodDescriptionPathContent Format
GET/ObserveRead persisted data/.d/{path=\*\*}JSON/CBOR
POST/PUTCreate/Update data/.d/{path=\*\*}JSON/CBOR
DELETEDelete Data/.d/{path=\*\*}JSON/CBOR

path can be any valid URI sub path. Ex:

/.d/temp/state

/.d/temp/active

The body can be a JSON/CBOR object or a single value in the following formats:

  • boolean
  • float
  • integer
  • string