Edit this page

ModifyFeatureDesiredProperty

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/modify",
  "headers": {
    "correlation-id": "<command-correlation-id>"
  },
  "path": "/features/accelerometer/desiredProperties/x",
  "value": 42
}

ModifyFeatureDesiredPropertyResponse

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/modify",
  "headers": {
    "correlation-id": "<preserved-command-correlation-id>"
  },
  "path": "/features/accelerometer/desiredProperties/x",
  "status": 204
}

FeatureDesiredPropertyModified

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/events/modified",
  "headers": {
    "correlation-id": "<preserved-command-correlation-id>"
  },
  "path": "/features/accelerometer/desiredProperties/x",
  "value": 42,
  "revision": 1
}