LayerTree.snapshotCommandLog

Replays the layer snapshot and returns canvas log.

{
  "name": "snapshotCommandLog",
  "parameters": [
    {
      "name": "snapshotId",
      "$ref": "SnapshotId",
      "description": "The id of the layer snapshot."
    }
  ],
  "description": "Replays the layer snapshot and returns canvas log.",
  "returns": [
    {
      "name": "commandLog",
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "The array of canvas function calls."
    }
  ]
}