Created
November 25, 2020 05:04
-
-
Save dreness/68c31bf23e413468d7b1e66bebba92d2 to your computer and use it in GitHub Desktop.
Enumerate pinned items owned by stargazers of a repository with given owner and name
This file contains 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 ($owner: String!, $name: String!, $gazers: Int, $items: Int) { | |
repository(owner: $owner, name: $name) { | |
name | |
description | |
resourcePath | |
id | |
stargazers(last: $gazers, orderBy: {field: STARRED_AT, direction: DESC}) { | |
edges { | |
starredAt | |
node { | |
name | |
id | |
itemShowcase { | |
items(first: $items) { | |
edges { | |
node { | |
... on Repository { | |
id | |
url | |
name | |
description | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
... as pictured here in the GraphiQL app: