v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Get specified ref or filtered repository's refs

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

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

refstring required

part or full name of the ref

Response

ReferenceList

refstring

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

urlstring

The URL to access this Git reference