Skip to content

How can I get all the repository a user participate in by using v4 api, thanks a lot ! #24836

Discussion options

You must be logged in to vote

@yuajuan 

Did you tried the below query

{
	rateLimit {
		cost
		limit
		nodeCount
		remaining
		resetAt
	}
	viewer {
		repositories(first: 50) {
			nodes {
				name
				url
			}
			pageInfo {
				endCursor
				hasNextPage
			}
		}
	}
}

Replies: 1 comment

Comment options

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