Ditto · Example Payload

Ditto Live Store Write Request Example

Developer ToolsDatabaseSynchronizationPeer-to-PeerEdge ComputingOffline-FirstMobile

Ditto Live Store Write Request Example is an example object payload from Ditto, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

commands

Example Payload

Raw ↑
{
  "commands": [
    {
      "method": "upsert",
      "collection": "people",
      "id": "person-001",
      "value": {
        "name": "Susan",
        "age": 31,
        "favoriteBook": {
          "published": 1925,
          "title": "The Great Gatsby"
        }
      }
    }
  ]
}