'How to get all branches of particular user using Github API V3?
My first time working with GitHub API and I'm working on a project(Using ReactJS), where I want to list out branches belonging to a user and then the user selects the branches which they want to delete. I'm yet to figure out how to make the delete part work, but I'm not able to get the list of branches of a particular user in the first place.
I'm able to get the list of orgs user been part of using (I'm working with enterprise GitHub)
https://github.domainname.com/api/v3/users/myusername/orgs/
Referred to GitHub doc and https://api.github.com/repos/octocat/hello-world/branches/BRANCH this work with my personnel GitHub and I can see all the branches, but when I try with Enterprise, it doesn't return anything.
Would appreciate it if someone helps me out here.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
