Get a pull request's diffstat
One step with Bitbucket. We can help you get access.
Look something up
Get a pull request's diffstat
with Bitbucket · Software Construction Management
Use Bitbucket: its Bitbucket Pullrequests API lets you get a pull request's diffstat in a single step (GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat). capabilities.work can help you get signed up and connected.
- Which files does a pull request touch, and how many lines are added or removed in each?
- Is there a per-file summary of a PR's changes rather than the full diff?
Say it to your AI assistant
- Get the diffstat for PR #{pull_request_id} in {workspace}/{repo_slug}.
- Summarize files changed and lines added or removed in pull request {pull_request_id}, repo {repo_slug}, workspace {workspace}.
For your developer
GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat in Bitbucket Pullrequests API. Full spec on APIs.io.