Get a short-lived download URL for the theme at a past version
Returns a pre-signed URL for a tarball of the theme’s connected repository at one commit. The URL is fetched directly from the Git provider by the client and needs no authentication of its own — Fluid mints it and never proxies the bytes, so repository credentials stay server-side.
One request returns the entire tree, binary assets included as real bytes. That matters for restoring a past version: an asset’s current URL points at its current content, so anything built from per-file links would silently fail to revert images.
Read-only. This exposes a version; it does not apply one. Clients with a local checkout restore by writing the archive into their theme folder, then pushing — the same local-then-publish flow as the Mist and Portal rollbacks. A client without one (the admin editor) uses the git_restore operation instead, which applies a version to the theme’s draft records server-side.
The URL is short-lived. Re-request it rather than caching it.
Authorizations
Bearer token authentication
Path Parameters
Application theme ID
Query Parameters
Commit SHA to archive, as returned by the git_versions operation. Accepts an abbreviated (7+ character) SHA.
Response
Success
A short-lived, pre-signed download URL for a theme version.