summaryrefslogtreecommitdiff
path: root/src/issues.graphql
blob: 93a4dc0a5c8bbc66ced3921f8f89098e03098864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
        }
      }
    }
  }
}