Github graphQL分页如何获取下一页数据

Github graphQL分页如何获取下一页数据,github,graphql,github-api,Github,Graphql,Github Api,我对GraphQL非常陌生,我正在对我们的GitHub存储库进行查询,我注意到似乎需要分页,但我感到困惑的是,如何转到下一页数据 graphQL变量 返回数据 { "repository_owner": "<owner>", "repository_name": "<repo>", "user_id": "<user_ID>" }

我对GraphQL非常陌生,我正在对我们的GitHub存储库进行查询,我注意到似乎需要分页,但我感到困惑的是,如何转到下一页数据

graphQL变量 返回数据
{
  "repository_owner": "<owner>",
  "repository_name": "<repo>",
  "user_id": "<user_ID>"
}
query($repository_owner:String!, $repository_name:String!, $user_id:ID!) {
    repository(owner: $repository_owner, name: $repository_name) {
        ref(qualifiedName: "master") {
            target {
                ... on Commit {
                    history(author: {id: $user_id} until: "2019-07-11T00:00:00") {
                        totalCount
                        nodes {
                            id
                            authoredDate
                            committedDate
                            message
                            additions
                            deletions
                            committedDate
                        }
                        pageInfo {
                            endCursor
                            hasNextPage
                            startCursor
                            endCursor
                        }
                        
                    }
                }
            }
        }
    }
}
"pageInfo": {
    "endCursor": "5079228072f03ae992aab369564c32f97c5e68cc 99",
    "hasNextPage": true,
    "startCursor": "5079228072f03ae992aab369564c32f97c5e68cc 0"
    }