I am migration one of my project from GitHub V3 to GitHub V4. In Github V3 there is a generic way to get the readme by calling the API.
https://developer.github.com/v3/repos/contents/#get-the-readme
That is the readme can be in any formats listed in https://github.com/github/markup/blob/master/README.md#markups. Still by calling the above API, I can get the readme
But whereas in GitHub v4 I can’t achieve the above also i want to keep on querying all the formats
readme: object(expression: "HEAD:README.md") {
...on Blob {
text
id
}
}
Is there a way to get the readme in a more generic way for GitHub V4 similar to V3
Regards
Parithiban