Edit this page

ModifyAttributes

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

ModifyAttributesResponse

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

AttributesCreated

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