Preview restoring a recovery checkpoint
tiled_preview_checkpoint_restoreValidate a checkpoint and its expected revision to preview a destructive restore proposal without writing. Ensures safe restoration of a single document, even if the target file is missing.
Instructions
Validates one checkpoint and its exact pre-write JSON bytes, pins the current target revision, and returns a destructive restore proposal without writing. When the target file is missing (deleted through tiled_delete_file or externally), expectedRevision must equal the checkpoint's restorable content revision and the approved restore recreates the file with no-replace semantics. Only that document is restored; referenced tilesets, images and other files are not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpointId | Yes | ||
| expectedRevision | Yes | SHA-256 revision returned by a read or preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |