Last active
July 30, 2022 10:43
-
-
Save katopz/7e12727b41175a047a48566566b6c6e3 to your computer and use it in GitHub Desktop.
GraphQL Github Example : Get repository info.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Try at : https://graphql-explorer.githubapp.com/ | |
query { | |
repositoryOwner (login: "facebook") { | |
repositories { | |
totalCount | |
} | |
repository(name: "react") { | |
description | |
forks { | |
totalCount | |
} | |
issues { | |
totalCount | |
} | |
stargazers { | |
totalCount | |
} | |
watchers { | |
totalCount | |
} | |
pullRequests { | |
totalCount | |
} | |
labels(first:10) { | |
edges { | |
node { | |
name | |
} | |
} | |
} | |
milestones(first:10) { | |
edges { | |
node { | |
title | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment