In TFS api only allow to get the modified file count only.But needed to get each file modified line count (added/deleted) for each commit in rest call.
标签:
azure-devops
相关问题
- Docker task in Azure devops won't accept "$(pw
- Authentication Failure using Git-LFS Azure DevOps
- Getting error: File extension specified '.webt
- “No test result files matching **/*.trx were found
- Azure Graph 403 Authorization_RequestDenied using
相关文章
- Build errors of missing packages in Visual Studio
- VSTS continuous integration triggers not working
- Close a work item via the commit message
- Increment variable value in TFS build +1
- Can't check in changes to TFS
- Running Jasmine tests on Azure DevOps as part of a
- Azure Active Directory: Add Service Principal to D
- Setup team or users permissions with VSTS REST API
There isn’t official released REST API to do that. But you can refer to these steps to achieve your requirements
The [data 1] value is the JSON data (remove whitespace).
JSON likes:
The result contains this (you need to calculate the items that changeType isn’t equal 0, 2 means remove, 1 means add):
You can capture the request URL of a commit (History > Commits > Select a commit) by using Developer Tools Network capture.