【问题标题】:List of completed Pull Request's through Azure DevOps Services Rest Api通过 Azure DevOps Services Rest Api 完成的拉取请求列表
【发布时间】:2020-06-27 19:20:17
【问题描述】:

尝试使用 Azure DevOps Services Rest Api

https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1

谁能建议正确的 API 来调用以获得存储库的已完成拉取请求列表

我一直在查看 Git Api,但似乎特定 API 只返回尚未完成的 PR。

【问题讨论】:

    标签: c# azure-devops azure-devops-rest-api


    【解决方案1】:

    此示例可在 Rest Api 文档网站上找到:Just completed pull requests

    GET https://dev.azure.com/fabrikam/_apis/git/repositories/3411ebc1-d5aa-464f-9615-0b527bc66719/pullrequests?searchCriteria.status=completed&api-version=5.1
    

    【讨论】:

      猜你喜欢
      • 2021-01-15
      • 2020-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-07
      • 2020-10-22
      • 2019-12-03
      相关资源
      最近更新 更多