List SHA-256 hashes of every file on a site
list_file_hashesReturn SHA-256 + size for every file currently served. Use BEFORE re-deploying to skip files whose content hasn't changed: hash your local files, diff against this list, and only ship the differences via update_site mode:'patch' or begin_deploy → add_files. For SPAs with content-hashed bundle names this typically reduces a full-site redeploy to a handful of files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Site name or custom domain. Same lookup rules as get_site. | |
| siteId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| files | Yes | ||
| siteId | Yes | ||
| request_id | No | Server-assigned request correlation id. Quote it when contacting support. | |
| totalBytes | Yes | ||
| totalFiles | Yes |