Navigation Menu

Skip to content

GraphQL API v4 PullRequestFilters Input Object #24323

Discussion options

You must be logged in to vote

Hi @kongo555,

Thank you for being here! Here is a query that would help:

{
  search(query: "repo:atom/atom is:pr is:open created:>2019-04-01", type: ISSUE, last: 100) {
    edges {
      node {
        ... on PullRequest {
          url
          title
          createdAt
        }
      }
    }
  }
}

You’ll need to use pagination to fetch further results, and I’d recommend taking a read through the official documentation for using cursors and pages here: https://graphql.org/learn/pagination/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants