【问题标题】:How to get only merged PRs from Github API如何从 Github API 只获取合并的 PR
【发布时间】:2022-11-11 23:13:35
【问题描述】:

我目前正在尝试仅获取 PRsmerged 但在测试了几个不同的选项后,没有任何效果。

最新版本:

https://api.github.com/repos/user/repo/pulls?state=closed+is:merged

任何事情都有帮助

【问题讨论】:

    标签: github github-api


    【解决方案1】:

    显然pull route 没有那个选项,或者我没有找到它,但是issue 一个有效:

    https://api.github.com/search/issues?q=repo:<owner>/<repo-name>/+is:pr+merged:%3E=2022-10-09
    

    【讨论】:

      猜你喜欢
      • 2014-12-09
      • 1970-01-01
      • 1970-01-01
      • 2022-08-11
      • 2015-03-07
      • 2019-09-30
      • 2020-10-17
      • 2015-10-14
      • 2021-02-01
      相关资源
      最近更新 更多