Skip to content

Download a whole revision as a zip

GET
/api/sites/{path}/revisions/{rev}/archive
curl --request GET \
--url https://example.com/api/sites/example/revisions/example/archive \
--header 'Remote-User: <Remote-User>'

Streams all of the revision’s files as a .zip. Available to any authenticated user; hidden sites are visible only to admins.

path
required
string

Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.

rev
required
string

A revision ID — current for the live content, or an archive timestamp from GET …/revisions.

A zip archive of the revision.

Media typeapplication/zip
string format: binary

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

No such site, key, or connection.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}