List Website Versions
site_versionsLists automatic version snapshots of the website. Every file write, edit, download and shell command takes a snapshot of /data/site FIRST, so an overwritten page can always be recovered. Use this when the user says a change "disappeared", "was reverted" or "came back wrong" — find the snapshot from before the change, then call site_restore. Returns {versions:[{id, when, label}]} — newest first; older history is paged with offset (the answer gives next_offset). READ-ONLY FILE HISTORY: pass version_id + path to get that file exactly as it was in that snapshot (show="content") or its difference from the current file (show="diff") without restoring anything; long output is paged with byte_offset (the answer gives next_byte_offset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| show | No | content | |
| site | No | ||
| limit | No | ||
| offset | No | ||
| server | No | ||
| version_id | No | ||
| byte_offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||