Closed ghost closed 4 years ago
Proposal:
Remove "id" and rename "resource" to "name".
How it would change the API:
Registry:
/registry/name/with/slash
/registry/filter/type/path/op/value
Data:
GET /data/name/with/slash
GET /data/encoded_name_1, encoded_name_2
POST /data
by tavakoli
The new format is as follows:
{
"name": "c5/1/kitchen/coffee-tablet/power",
"source": {
"type": "MQTT",
"url": "tcp://mqtt.eclipse.org:1883",
"topic": "c5/1/kitchen/coffee-tablet/power"
},
"dataType": "float",
"meta": null,
"retain": {
"min":"1w",
"max":"1y"
}
representation is updated from v1.x.x
Datasource v0.5
Problems
[LS-447] created by tavakoli