Undocumented GitHub API? #55
Unanswered
taranvohra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been playing around with the GH API and found some APIs not documented as part of the official documentation but works as expected. For instance to fetch a repository branches, the docs mentions
GET /repos/{owner}/{repoName}/brancheshowever this also works
GET /repositories/{repoID}/branchesWhy is this not documented? Is it not safe to use the latter one? 🤔
Beta Was this translation helpful? Give feedback.
All reactions