问题
When I'm looking at a PR in the browser, the line-by-line differences are returned from this API:
dev.azure.com/myproject/_apis/Contribution/dataProviders/query/project/{projectId}
With response containing this kind of data:
I'd like to get this same data via their API SDK.
There are some routes for Pull Request data in the SourceControl.WebApi
but I don't find anything that shows line differences in detail, per line.
(https://docs.microsoft.com/en-us/dotnet/api/microsoft.teamfoundation.sourcecontrol.webapi?view=azure-devops-dotnet)
来源:https://stackoverflow.com/questions/61059102/azure-devops-api-sdk-is-there-a-route-to-get-pull-request-difference-in-detail