Edit this page

ModifyThingDefinition

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

ModifyThingDefinitionResponse

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

DefinitionModified

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/events/modified",
  "headers": {
    "correlation-id": "<preserved-command-correlation-id>"
  },
  "path": "/definition",
  "value": "digitaltwin:DigitaltwinExample:1.0.0",
  "revision": 3
}