Download a VCS Branch from a Subgroup Repository

JFrog REST APIs

Content Type
REST API

Description: Downloads a tarball (tar.gz/zip, default tar.gz) of a complete branch from a subgroup repository.

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

Since: Artifactory 7.127.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /artifactory/api/vcs/downloadBranch/{repoKey}/{userOrg}/{repo}/archive/refs/{branch-name}

Produces: application/octet-stream

Sample Output:

GET /artifactory/api/vcs/downloadBranch/google-source-repo/chromium/deps/opus/archive/refs/main
<Branch binary content>