Update an Existing Site
Publish a new version of an existing site. Uses hash deduplication — files with matching hashes are copied server-side and don’t need to be re-uploaded.Path Parameters
string
required
The site slug to update (e.g.,
bright-canvas-a7k2).Headers
Request Body
Same as Create a Site. Thefiles array contains the complete file manifest for the new version.
array
required
Complete file manifest for the new version. Include all files, not just changed ones.
Example
Response (200)
How Deduplication Works
- Include the
hashfield (SHA-256) for each file in the manifest - The API compares each hash against the previous version’s files
- Files with matching hashes appear in the
skippedarray — they are copied server-side - Only files in the
uploadsarray need to be uploaded
versionId.