1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-26 07:46:59 +01:00
git-touch-android-ios-app/lib/graphql/gh_pulls.graphql

44 lines
738 B
GraphQL
Raw Normal View History

2020-01-28 16:19:05 +01:00
query GhPulls($owner: String!, $name: String!, $cursor: String) {
repository(owner: $owner, name: $name) {
owner {
login
}
name
pullRequests(
states: OPEN
orderBy: { field: CREATED_AT, direction: DESC }
first: 30
after: $cursor
) {
pageInfo {
hasNextPage
endCursor
}
nodes {
repository {
owner {
login
}
name
}
number
title
updatedAt
author {
login
avatarUrl
}
labels(first: 10) {
nodes {
name
color
}
}
comments {
totalCount
}
}
}
}
}