Merge thing command at /features/accelerometer/properties
{
"topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/merge",
"headers": {
"content-type": "application/merge-patch+json",
"correlation-id": "<command-correlation-id>"
},
"path": "/features/accelerometer/properties",
"value": {
"x": 3.141,
"y": 2.718,
"z": 1,
"unit": "g"
}
}
Merge thing command response at /features/accelerometer/properties
{
"topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/merge",
"headers": {
"correlation-id": "<preserved-command-correlation-id>"
},
"path": "/features/accelerometer/properties",
"status": 204
}
Thing merged event at /features/accelerometer/properties
{
"topic": "org.eclipse.ditto/fancy-thing/things/twin/events/merged",
"headers": {
"content-type": "application/merge-patch+json"
},
"path": "/features/accelerometer/properties",
"value": {
"x": 3.141,
"y": 2.718,
"z": 1,
"unit": "g"
},
"revision": 42,
"timestamp": "2021-01-18T09:42:12Z"
}
Merge thing command deleting /features/accelerometer/properties
{
"topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/merge",
"headers": {
"content-type": "application/merge-patch+json",
"correlation-id": "<command-correlation-id>"
},
"path": "/features/accelerometer/properties",
"value": null
}