Get VCS Branches

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Lists all VCS branches.

Since: 3.6.0

Security: Requires a privileged user (can be anonymous)

Usage: GET /api/vcs/branches/{repoKey}/{userOrg}/{repo}

Produces: application/json

Sample Output:

GET /api/vcs/branches/github/jquery/jquery
[ {
  "name" : "1.11-stable",
  "commitId" : "852529c9f148de6df205be01659a79731ce8ebef",
  "isBranch" : true
}, {
  "name" : "1.x-master",
  "commitId" : "73c1ceaf4280bd0318679c1ad832181f3f449814",
  "isBranch" : true
}
...]