Get VCS Refs

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Downloads a VCS Git References file.

Security: Requires a privileged user (can be anonymous)

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

Produces: application/json

Sample output:

GET /api/vcs/refs/github/jquery/jquery

{
001e# service=git-upload-pack
000001538be4c0e4f89d6c8f780e5937a0534921d8c7815e HEADmulti_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/github-32046c9f808f
004490a3c439828e21e291b65d4dfc1da6774d611aaa refs/heads/1.12-stable
0043acb7c49c8d42f601fa347661b1118959079f6b52 refs/heads/2.2-stable
...}