I’m using the GitHub Developer API v2. Currently need to retrieve all the file paths from a repository. Has anyone experience in this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As a starting point, you can check what the output of a ls-tree looks like.
But:
Getting in tree in GitHub Api V2 is described here.
Only the GitHub Api V3 mentions a
?recursive=1option.You can see an example in this article: