aboutsummaryrefslogtreecommitdiff
path: root/graphql/issues.graphql
blob: 10a30775c4b75fcefc0efa02afab8f31f70c8f2e (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
27
28
29
30
31
32
33
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
              }
            }
          }
        }
      }
    }
  }
}