Download a File in a VCS Branch in a Subgroup Repository

JFrog REST APIs

Content Type
REST API

Description: Call this API to download a specific file that is in a VCS branch in a subgroup repository.

Since: Artifactory 7.127.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /artifactory/api/vcs/downloadBranchFile/{repoKey}/{userOrg}/{repo}/archive/refs/{branch-name}!{file-path}

Produces: application/octet-stream

Sample Output:

GET /artifactory/api/vcs/downloadBranchFile/repoKeyInArtifactory/chromium/deps/opus/archive/refs/main!README.md
<README.md>