Something like this: https://developer.github.com/v4/explorer/
{
search(first: 10, query: "topic:scoop-bucket", type: REPOSITORY) {
repositoryCount
pageInfo {
hasNextPage
hasPreviousPage
}
nodes {
... on Repository {
id
name
nameWithOwner
url
manifests: object(expression: "master:bucket") {
... on Tree {
entries {
name
object {
... on Blob {
text
}
}
}
}
}
shortDescriptionHTML
description
isFork
forkCount
stargazers {
totalCount
}
}
}
}
}
fragment manifests on Repository {
manifests: object(expression: "master:bucket") {
... on Tree {
entries {
name
object {
... on Blob {
text
}
}
}
}
}
}
query GetManifestsFromRepo {
repository(owner: "lukesampson", name: "scoop-extras") {
...manifests
}
}
query SearchScoopBucketRepos {
search(first: 10, query: "topic:scoop-bucket", type: REPOSITORY) {
repositoryCount
pageInfo {
hasNextPage
hasPreviousPage
}
nodes {
... on Repository {
id
name
nameWithOwner
url
...manifests
shortDescriptionHTML
description
isFork
forkCount
stargazers {
totalCount
}
}
}
}
}