Edit this page

ModifyFeatureDesiredProperties

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/modify",
  "headers": {
    "correlation-id": "<command-correlation-id>"
  },
  "path": "/features/accelerometer/desiredProperties",
  "value": {
    "x": 4,
    "y": 3,
    "z": 5,
    "unit": "g"
  }
}

ModifyFeatureDesiredPropertiesResponse

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

FeatureDesiredPropertiesCreated

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