Last active
October 7, 2022 00:10
-
-
Save loic-sharma/220611fbdf1146bdab695779cbb16540 to your computer and use it in GitHub Desktop.
Grab a timeline of reactions for a repository's issues
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
{ | |
repository(owner: "nuget", name: "home") { | |
issues( | |
first: 20 | |
filterBy: {states: [OPEN]} | |
orderBy: {field: CREATED_AT, direction: DESC} | |
) { | |
pageInfo { | |
endCursor | |
} | |
nodes { | |
number | |
reactions(first: 20, orderBy: {field: CREATED_AT, direction: DESC}) { | |
pageInfo { | |
endCursor | |
} | |
nodes { | |
content | |
createdAt | |
} | |
} | |
} | |
} | |
} | |
} |
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
# Grab a single issue's reaction timeline | |
# See: https://github.com/NuGet/Home/issues/3891 | |
{ | |
repository(owner: "nuget", name: "home") { | |
issue(number: 3891) { | |
number | |
reactions(first: 100, orderBy: {field: CREATED_AT, direction: DESC}) { | |
pageInfo { | |
endCursor | |
} | |
nodes { | |
content | |
createdAt | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment