I can get a list of releases (with details, such as download count) using this abridged graph:
query {
repository(owner: "UserName", name: "RepoName") {
releases(last: 100, orderBy: { field: CREATED_AT, direction: DESC}) {
nodes {
releaseAssets(last: 4) {
nodes {
downloadCount
}
}
}
}
}
}
The issue being that I have a limit in the pagination (100 entries).
Is there any way correctly get the total download count of the repo, maybe with number of releases without bumping into issues with the pagination limits?