Gitlab api - List project jobs - allow to filter by ref name

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

I need need to receive list of jobs executed on specified branch name.

Currently there is possibility to iterate over all jobs and filter it on my side by field ref, but we have thousands of jobs to iterate. Is possible to add optional filter by ref field here? - https://docs.gitlab.com/ee/api/jobs.html#list-project-jobs

Edited by 🤖 GitLab Bot 🤖