I just want to query the PRs from a specific user.
Do I need to use the head param? But how?
https://api.github.com/repos/org-a/repo-b/pulls?state=open&per_page=1&head=owner:user-c does not work.
API Refer: https://developer.github.com/v3/pulls/#list-pull-requests
Use the Search API and specify
repo:REPO,author:USERandis:prfilters:https://developer.github.com/v3/search/#search-issues-and-pull-requests
For example, here are the pull requests from
rails/railsfromaderyabin:https://api.github.com/search/issues?q=is:pr+repo:rails/rails+author:aderyabin