aboutsummaryrefslogtreecommitdiff
path: root/graphql/issues.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/issues.graphql')
-rw-r--r--graphql/issues.graphql34
1 files changed, 34 insertions, 0 deletions
diff --git a/graphql/issues.graphql b/graphql/issues.graphql
new file mode 100644
index 0000000..10a3077
--- /dev/null
+++ b/graphql/issues.graphql
@@ -0,0 +1,34 @@
+query IssuesQuery($owner: String!, $name: String!, $since: DateTime, $after: String) {
+ repository(owner: $owner, name: $name) {
+ issues(filterBy: { since: $since }, first: 100, after: $after) {
+ pageInfo {
+ hasNextPage
+ }
+
+ edges {
+ cursor
+
+ node {
+ number
+ state
+ title
+ url
+ author {
+ __typename
+ login
+ }
+ updatedAt
+ bodyHTML
+ labels(first: 100) {
+ edges {
+ node {
+ name
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+