LightDB
LightDB Device Service definitions over CoAP.
How to use guides:
Interface
| Method | Description | Path | Content Format |
|---|---|---|---|
| GET/Observe | Read persisted data | /.d/{path=\*\*} | JSON/CBOR |
| POST/PUT | Create/Update data | /.d/{path=\*\*} | JSON/CBOR |
| DELETE | Delete Data | /.d/{path=\*\*} | JSON/CBOR |
pathcan 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:
booleanfloatintegerstring