Skip to content

Instantly share code, notes, and snippets.

@veeral-patel
Last active April 3, 2020 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veeral-patel/4e5457d0a380cf8f00605335b4a46e92 to your computer and use it in GitHub Desktop.
Save veeral-patel/4e5457d0a380cf8f00605335b4a46e92 to your computer and use it in GitHub Desktop.
query {
repository(owner: "facebook", name: "react") {
owner {
login
}
isPrivate
isDisabled
isArchived
isLocked
name
viewerCanSubscribe
viewerSubscription
watchers {
totalCount
}
viewerHasStarred
stargazers {
totalCount
}
forks {
totalCount
}
hasIssuesEnabled
issues(states: OPEN) {
totalCount
}
pullRequests(states: OPEN) {
totalCount
}
hasProjectsEnabled
projects(states: OPEN) {
totalCount
}
hasWikiEnabled
description
repositoryTopics(first: 5) {
nodes {
topic {
name
}
}
}
homepageUrl
refs(refPrefix: "refs/heads/") {
totalCount
}
registryPackages {
totalCount
}
releases {
totalCount
}
licenseInfo {
name
}
languages(first: 5) {
edges {
size
node {
name
color
}
}
}
defaultBranchRef {
name
target {
... on Commit {
associatedPullRequests(last: 1) {
nodes {
number
}
}
history {
totalCount
}
author {
user {
avatarUrl
login
}
}
messageHeadline
statusCheckRollup {
state
}
abbreviatedOid
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment