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)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.