repository

Get specified ref or filtered repository's refs

get/repos/{owner}/{repo}/git/refs

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Response

ReferenceList

refstring

The name of the Git reference (e.g., refs/heads/main)

urlstring

The URL to access this Git reference

Changes

No recorded changes to this endpoint across all 5 revisions of this API.