Download a VCS Branch

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 branch.

Downloading can be executed conditionally according to properties by specifying the properties query param. In this case, only cached artifacts are searched.

Since: 3.6.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/vcs/downloadBranch/{repoKey}/{userOrg}/{repo}/{branch-name}?ext=tar.gz/zip[&properties=qa=approved]

Produces: application/octet-stream

Sample Output:

GET /api/vcs/downloadBranch/github/jquery/jquery/master
<Branch binary content>