Edit this page

ModifyFeatureDefinition

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

ModifyFeatureDefinitionResponse

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

FeatureDefinitionModified

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