Changelog API - specify branch in parameter
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=442013)
</details>
<!--IssueSummary end-->
When trying to generate changelog on the fly using the [changelog API](https://docs.gitlab.com/ee/api/repositories.html#generate-changelog-data) for a release I discovered that there is no way to specify a branch when using the GET command.
However using the post command I can but it doesn't suit my need since i don't want to generate a new commit.
Having a branch parameter would fix the issue
issue