POST

Generate Git Code Store Project Download Url


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Generates a temporary URL to download all tracked files at one revision as a ZIP.

Includes hidden directories, binary files and materialized LFS objects; excludes Git history. Defaults to main. Omit revisionId to download the current branch head. Supply the returned revision when committing uploaded code unless force is true. Supports at most 10,000 tracked files, 256 MiB expanded, and a 64 MiB ZIP. Rejects unsafe paths, submodules, special files, and dangling or escaping symlinks. Requires an authenticated user with read access to the app or its companion site.

Endpoint
POST
https://www.wixapis.com/codestore/v2/git-code-store-projects/{managedProjectId}/generate-download-url

Errors
400Invalid Argument

There are 2 errors with this status code.

404Not Found

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?