Version-control history
vc_logCheck version history with recent commits, scoped to a record or resource. Use the returned hash to revert changes and restore previous versions.
Instructions
List recent commits, optionally scoped to one record. Use a returned hash with restore_resource to revert to that version. Requires PORTAL_VC_DIR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record id (requires resource). | |
| limit | No | Max commits (default 20). | |
| resource | No | Record kind, e.g. 'block' or 'layout'. |