Documentation Index
Fetch the complete documentation index at: https://docs.simplehost.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
The site slug to update (e.g.,
bright-canvas-a7k2).Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | application/json |
Authorization | Yes | Bearer sh_live_... |
Request Body
Same as Create a Site. Thefiles array contains the complete file manifest for the new version.
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.