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” “https://gitlab.com/api/v4/projects/6888/merge_requests”