summaryrefslogtreecommitdiff
path: root/src/issues.graphql
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-05-28 15:14:52 +0200
committerpennae <github@quasiparticle.net>2022-06-01 01:45:18 +0200
commit50068653801991e67487f1b555b83f9232a3bd48 (patch)
tree229f7427e4cadbe3e9fbdee3c07a622fa59fb54b /src/issues.graphql
downloadlabel-tracker-50068653801991e67487f1b555b83f9232a3bd48.tar.gz
label-tracker-50068653801991e67487f1b555b83f9232a3bd48.tar.xz
label-tracker-50068653801991e67487f1b555b83f9232a3bd48.zip
initial commit
Diffstat (limited to 'src/issues.graphql')
-rw-r--r--src/issues.graphql26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/issues.graphql b/src/issues.graphql
new file mode 100644
index 0000000..93a4dc0
--- /dev/null
+++ b/src/issues.graphql
@@ -0,0 +1,26 @@
+query IssuesQuery($owner: String!, $name: String!, $label: String!, $after: String, $since: DateTime, $batch: Int!) {
+ rateLimit {
+ limit
+ cost
+ remaining
+ resetAt
+ }
+ repository(owner: $owner, name: $name) {
+ issues(first: $batch, after: $after, filterBy: { labels: [ $label ], since: $since }) {
+ pageInfo {
+ endCursor
+ hasNextPage
+ }
+ edges {
+ node {
+ id
+ bodyHTML
+ closed
+ title
+ updatedAt
+ url
+ }
+ }
+ }
+ }
+} \ No newline at end of file