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",
"value": "digitaltwin:DigitaltwinExample:1.0.0",
"status": 201
}
DefinitionCreated
{
"topic": "org.eclipse.ditto/fancy-thing/things/twin/events/created",
"headers": {
"correlation-id": "<preserved-command-correlation-id>"
},
"path": "/definition",
"value": "digitaltwin:DigitaltwinExample:1.0.0",
"revision": 2
}