Edit this page

ModifyAttribute

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/commands/modify",
  "headers": {
    "correlation-id": "<command-correlation-id>"
  },
  "path": "/attributes/location",
  "value": {
    "latitude": 44.673856,
    "longitude": 8.261719
  }
}

ModifyAttributeResponse

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

AttributeCreated

{
  "topic": "org.eclipse.ditto/fancy-thing/things/twin/events/created",
  "headers": {
    "correlation-id": "<preserved-command-correlation-id>"
  },
  "path": "/attributes/location",
  "value": {
    "latitude": 44.673856,
    "longitude": 8.261719
  },
  "revision": 1
}