Created
July 19, 2017 21:49
-
-
Save gr2m/4e085e94a79dc811f31463ce49b97839 to your computer and use it in GitHub Desktop.
With GitHub’s new GraphQL API, you can send a single request to list of files with their content. Try it out on https://developer.github.com/v4/explorer/
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
{ | |
organization(login: "offlinefirst") { | |
repository(name: "offlinefirst.org") { | |
object(expression: "gh-pages:_posts/") { | |
... on Tree { | |
entries { | |
object { | |
... on Blob { | |
text | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment