Download a VCS Commit

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Downloads a tarball (tar.gz/zip, default tar.gz) of a complete commit.

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/vcs/downloadCommit/{repoKey}/{userOrg}/{repo}/{commitId}?ext=tar.gz/zip (default tar.gz)

Produces: application/octet-stream

Sample output:

GET /api/vcs/downloadCommit/github/jquery/jquery/02a570fcf5624413ef790a800f6d76ea2b6d69dd
<Commit binary content>