Description: Download a specific file from within a tag.
Since: 3.6.0
Security: Requires a privileged user (can be anonymous)
Usage: GET /artifactory/api/vcs/downloadTagFile/{repoKey}/{userOrg}/{repo}/{tag-name}!{file-path}
This API can also be called using the userOrg as the repository, like this:
GET /artifactory/api/vcs/downloadTagFile/{repoKey}/{userOrg}/{tag-name}!{file-path}Produces: application/octet-stream
Sample Output:
GET /artifactory/api/vcs/downloadTagFile/github/jquery/jquery/2.0.1!AUTHORS.txt <AUTHORS.txt content>
Sample Output when using userOrg as the repository:
GET /artifactory/api/vcs/downloadTagFile/gs-repo/crossbench/loadline_v1.0.0!README.md <README.md content>
In the example above, userOrg = crossbench , the tag name is loadline_v1.0.0, and the file is README.md.