Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 1

Get all merge requests for a project OR get branches merged directly into master branch

How could we get all merge requests for a project through GitHub API? I saw GitLab support a API similar what we want. Please help to share if you know.


Example: We have master, develop, feature1, feature2, bugfixing1, bugfixing2, etc ...


  • develop, feature2, bugfixing1 merged into Master brach
  • Only develop merged into Master branch
  • No branch merged into the master branch

curl -XGET --header "PRIVATE-TOKEN: XXX" ""