github-api icon indicating copy to clipboard operation
github-api copied to clipboard

[Feature request] Support matching-refs API

Open krzema12 opened this issue 2 months ago • 0 comments

See https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#list-matching-references. The endpoint is /repos/{owner}/{repo}/git/matching-refs/{ref}.

The goal of this endpoint is to list refs that match the given prefix. It's useful to avoid fetching all available refs.

krzema12 avatar Oct 30 '25 11:10 krzema12