-
-
Save KevOrr/37df4091e4e3dd4ee3a079dc5c11196c to your computer and use it in GitHub Desktop.
dpastes for Github GraphQL API support forum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 2, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query { | |
user(login: "angusshire") { | |
pullRequests(first: 1){ | |
nodes { | |
databaseId | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
mentionableUsers(first: 4) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
issues(first: 2, orderBy: {field: COMMENTS, direction: DESC}) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 4, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 5, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query { | |
user(login:"BooDoo") { | |
pullRequests(first: 1) { | |
nodes { | |
databaseId | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
mentionableUsers(first: 2) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
watchers(first: 1) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1, orderBy: {field: COMMENTS, direction: DESC}) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 5, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
issues(first: 1, orderBy: {field: COMMENTS, direction: DESC}) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
watchers(first: 1) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
mentionableUsers(first: 5) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
contributedRepositories(first: 1, privacy: PUBLIC, orderBy: {field: STARGAZERS, direction: DESC}) { | |
nodes { | |
...repoInfo | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 2, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
stargazers(first: 3, orderBy: {field: STARRED_AT, direction: DESC}) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
pullRequests(first: 1) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($owner:String!, $name:String!) { | |
repository(owner: $owner, name: $name) { | |
watchers(first: 5) { | |
nodes { | |
...userExpand | |
} | |
} | |
} | |
} | |
fragment userExpand on User { | |
issues(first: 16, orderBy: {field: COMMENTS, direction: DESC}) { | |
nodes { | |
repository { | |
...repoInfo | |
} | |
} | |
} | |
} | |
fragment repoInfo on Repository { | |
name | |
owner { | |
__typename | |
login | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment