gpt4 book ai didi

github-api - Github API : Is it possible to list Pull Requests by label?

转载 作者:行者123 更新时间:2023-12-04 02:12:30 26 4
gpt4 key购买 nike

我一直在浏览 API 文档,但找不到实现这一目标的方法。以为我会在这里问以防万一有人知道。谢谢!

最佳答案

使用 Search Issues API 端点:

  • 使用 repo 关键字按 repo 过滤(例如 repo:ionicabizau/scrape-it )
  • 使用 is:pr 过滤拉取请求(注意拉取请求是问题,但问题不是拉请求)
  • 使用 label 关键字按标签过滤: label:your-label

  • 例子:

    https://api.github.com/search/issues?q=is:pr%20label:enhancement%20repo:ionicabizau/scrape-it

    关于github-api - Github API : Is it possible to list Pull Requests by label?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36974157/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com