Skip to content

Instantly share code, notes, and snippets.

@enzoftware
Created September 7, 2018 05:09
Show Gist options
  • Save enzoftware/5124bc22ee5b08c7d5d20898c5901e95 to your computer and use it in GitHub Desktop.
Save enzoftware/5124bc22ee5b08c7d5d20898c5901e95 to your computer and use it in GitHub Desktop.
Github GraphQL API Request to get my pinned repositories
{
repositoryOwner(login: "enzoftware") {
... on User {
pinnedRepositories(first: 6) {
edges {
node {
name
description
primaryLanguage {
name
}
stargazers {
totalCount
}
}
}
}
}
}
}
@debasishbsws
Copy link

Doesn't work.
error:
"message": "Field 'pinnedRepositories' doesn't exist on type 'User'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment