Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save byaruhaf/93b46f642a8465f4cb20d64bea6dcb4d to your computer and use it in GitHub Desktop.
Save byaruhaf/93b46f642a8465f4cb20d64bea6dcb4d 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