Azure DevOps API SDK - Is there a route to get Pull Request difference in detail?

故事扮演 提交于 2020-04-11 17:25:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!