Created
July 26, 2017 16:31
-
-
Save denvaar/1235fd26ec798c797e854fc06a7c7068 to your computer and use it in GitHub Desktop.
GraphQL query GitHub branches
This file contains 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
query { | |
organization(login: "orgname") { | |
repository(name: "reponame") { | |
refs(first: 10, refPrefix: "refs/heads/") { | |
edges { | |
node { | |
name | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment