I am sending a request to this endpoint:
https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pullrequests
to get a list of pull requests for a repository. Each pull request in this list does not contain the reviewers array. The docs say "For performance reasons, the API only includes this list on a pull request's self
URL". Is there any way to modify my request so it returns this list, so I can avoid having to send additional requests?
Hi Jonathan,
Unfortunately, this is not possible - you would need to query each individual PR for this information.
We have an active feature request ticket logged with our developers to implement this, however. Please feel free to Watch this to receive future updates related to it and Vote for it to improve its visibility with regard to customer demand:
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.