Edit this page

Merge thing command at /policyId

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/merge",
  "headers": {
    "content-type": "application/merge-patch+json",
    "correlation-id": "<command-correlation-id>"
  },
  "path": "/policyId",
  "value": "org.eclipse.ditto:the_policy_id"
}

Merge thing command response at /policyId

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

Thing merged event at /policyId

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/events/merged",
  "headers": {
    "content-type": "application/merge-patch+json"
  },
  "path": "/policyId",
  "value": "org.eclipse.ditto:the_policy_id",
  "revision": 42,
  "timestamp": "2021-01-18T09:42:12Z"
}