summaryrefslogtreecommitdiff
path: root/queries/github/gh_list_repos.graphql
blob: 0e728b613aa50ff7e2ac0b539a3e8ec9f6a695fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query GetUserRepos($username: String!, $after: String) {
    repositoryOwner(login: $username) {
        repositories(first: 100, after: $after, ownerAffiliations: OWNER) {
            nodes {
                name
                url
                sshUrl
                isFork
                isPrivate
            }
            pageInfo {
                hasNextPage
                endCursor
            }
        }
    }
}