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
}

FeatureDefinitionCreated

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