Skip to content

Instantly share code, notes, and snippets.

@flesch
Created May 3, 2018 04:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save flesch/84befc8753c9b40bc22769d319d0bcbd to your computer and use it in GitHub Desktop.
Save flesch/84befc8753c9b40bc22769d319d0bcbd to your computer and use it in GitHub Desktop.
starredRepositories.graphql
query starredRepositories($repositories: Int = 10, $after: String, $releases: Int = 1) {
viewer {
starredRepositories(first: $repositories, after: $after, ownedByViewer: false, orderBy: {field: STARRED_AT, direction: DESC}) {
pageInfo {
hasNextPage
endCursor
}
edges {
cursor
starredAt
node {
name
url
updatedAt
languages(first: 1, orderBy: {field: SIZE, direction: DESC}) {
nodes {
name
color
}
}
releases(last: $releases, orderBy: {field: CREATED_AT, direction: DESC}) {
nodes {
name
description
author {
login
}
tag {
id
}
url
isPrerelease
publishedAt
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment