Download app version
Changed onDownload a tar.gz archive of the source files for an immutable app version. Excludes package-root MANIFEST, Towerfile and external shared modules. Repackage edited source files before deploying them. Range requests are ignored. A failure after streaming starts aborts the response; discard incomplete downloads.
get/apps/{name}/versions/{num}/download
Request
- Base URLhttps://api.tower.dev/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
The app whose source files to download.
numstring required
An immutable version number, such as 1 or v1.
Response
App source files as a gzip-compressed TAR archive
Changes
- info
endpoint added
- info