Get VCS Tags

JFrog REST APIs

Content Type
REST API

Description: Lists all VCS tags in a specific repository or subgroup repository.

Since: 3.6.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /artifactory/api/vcs/tags/{repoKey}/{userOrg}/{repo}

Produces: application/json

Sample Output for listing VCS tags in a repository:

GET /artifactory/api/vcs/tags/github/jquery/jquery
[ {
  "name" : "1.0",
  "commitId" : "bcc8a837055fe720579628d758b7034d6b520f2e",
  "isBranch" : false
}, {
  "name" : "1.0.1",
  "commitId" : "bcc8a837055fe720579628d758b7034d6b520f2e",
  "isBranch" : false
}
...]

Sample Output for listing VCS tags in a subgroup repository:

GET /artifactory/api/vcs/tags/arti-repo/chromiumos/third_party/gcc'
{
  "name" : "toolchain-minor-verified",
  "commitId" : "b84e733a532a568e30c2c27b4fff44e701393210",
  "isBranch" : false
}

In the example above, the user organization (userOrg) is chromiumos and the subgroup repository is /third_party/gcc.