Edit this page

ModifyFeatureProperties

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

ModifyFeaturePropertiesResponse

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

FeaturePropertiesCreated

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