From bitbucket Rest api how can I get the PullRequst modified line count and file count. I used this "https://bitbucket.org/!api/2.0/repositories/{userName}/{repoName}/pullrequests/2/diff". But this return as file.can I get the filecount and line count from rest api itself?
Asked
Active
Viewed 1,977 times
1 Answers
0
There is also the endpoint diffstat
, which also give you stats lines added/deleted per file. So, you still would need to sum up over all files.

TheFRedFox
- 600
- 3
- 12