Using GET /2.0/repositories/{workspace}/{repo_slug}/refs/branches, I am getting a list of all the branches for a repo.
I would like to filter this list somehow in the same manner that the Bitbucket UI does so as not to have to iterate through 1600+ branches.
Is there a way to to use the filter objects to obtain a list of branches for a repo that have not been merged?