I have a project with many branches and I would like to list all merge requests from a specific branch from the console.
I found the merge requests API and I also found that I need an HTTP request to do it from this issue like this:
curl --header "PRIVATE-TOKEN: XXXXXX" -X GET "https://gitlab.example.com/api/v3/projects/project_name/merge_requests?source_branch=XXXXXX"
But I haven't figured out yet how. The response is this:
{"message":"404 Project Not Found"}
Although the name of the project is correct.