Created
October 12, 2019 17:59
-
-
Save rondinif/d6222d4748b12dd7f02ada6c6932b543 to your computer and use it in GitHub Desktop.
get the text of all the README.md on the master branch of my own repositories on github ( with syntax comparison between api.github.com.graphql and gatsby http://localhost:8000/___graphql?query= )
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
query { | |
viewer { | |
repositories(first: 100, privacy: PUBLIC, ownerAffiliations: OWNER, isFork: false) { | |
edges { | |
node { | |
name | |
readme: object(expression: "master:README.md") { | |
... on Blob { | |
text | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
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
query AllMyRepoREADME { | |
github { | |
viewer { | |
repositories(first: 100, privacy: PUBLIC, ownerAffiliations: OWNER, isFork: false) { | |
edges { | |
node { | |
name | |
readme: object(expression: "master:README.md") { | |
... on GitHub_Blob { | |
text | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment