I'm having trouble finding a way to see whether or not a pull request has passed all the merge checks, such as "Minimum number of approvals"
I thought it would be available in the specific pull request endpoint as seen below:
https://api.bitbucket.org/2.0/repositories/<workspace>/<repo>/pullrequests/<pull_request_id>
but it doesn't seem to be the case. I also tried the branch restrictions for a branch as well though I don't believe it returns the right details regarding the rules for the branch.
I've read that previously in 1.0 there was a parameter "canMerge" that showed that it passed all the checks. Anyone have any idea if there is any endpoints that can show this info?