Can searched issues be filtered by repo stargazers?

I’m using the GitHub REST API to search for issues across multiple repos - in most cases the relevant search criteria is on the issue itself (e.g. label), but is it possible to filter results based on how many stars the repository the issue it’s from has?

I know that we can get this data from the repositories API, but I don’t want to make requests out to it every time I want to check this. Would appreciate any advice!

You should add stargazers in your request options.

 qs: {
      stargazers: 50000
    }

1 Like