Getting LFS objects and sizes in all repos in an Org #144860
Unanswered
svanimisetti
asked this question in
API and Webhooks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use GitHub API to get a list of all LFS objects, pointer files, size and link to the LFS blob. The only LFS- specific endpoints I only found were to enable or disable LFS in a repo using LFS REST endpoints. One possible approach is to get all files using contents endpoint, manually check each file if it's an LFS pointer file, and then process the information from there. I think this is inefficient and cumbersome process, and am certain that there are better ways to do this. Any guidance or suggestions will be really appreciated!
Beta Was this translation helpful? Give feedback.
All reactions