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
}

FeatureDesiredPropertyCreated

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