aboutsummaryrefslogtreecommitdiff
path: root/graphql/issues.graphql
diff options
context:
space:
mode:
authortilpner2020-05-28 16:42:03 +0200
committertilpner2020-05-28 16:43:47 +0200
commitda07a2ca3a8c5ee97eac179b28dc3d4a064fd026 (patch)
tree40e384ffefd53acfb4aa589961b526e29387fb78 /graphql/issues.graphql
downloadgithub-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.gz
github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.xz
github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.zip
Initial commit
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
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+