Revert note to exact history
revert_noteUndo a bad write to a note by restoring exact prior bytes from content-addressed history, providing the current hash for consistency.
Instructions
Use this to undo a bad write by restoring exact prior bytes. Restore a note to exact content-addressed history bytes. Pass the current content_hash as expected_hash for CAS. The revert is itself durable, reversible, indexed, and operation-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| to_hash | Yes | ||
| expected_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indexed | Yes | ||
| reverted | Yes | ||
| content_hash | Yes |