You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id. To find out the pull request id, use the "List pull requests" endpoint.
GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id. To find out the pull request id, use the "List pull requests" endpoint.
诚如接口所说,所有的pull都可以看成是一个issue,并且number就是issue的number。但是issues的这个接口给的过滤参数pulls,为boolean值。目前传入所有的true,yes,1。都无法更改结果。因此目前是用的pulls接口来获取pull的数据。这就会导致comments的取值无法获得。
如果有知道怎么过滤的朋友,麻烦告知一下。
The text was updated successfully, but these errors were encountered: