Created
May 3, 2018 04:01
-
-
Save flesch/84befc8753c9b40bc22769d319d0bcbd to your computer and use it in GitHub Desktop.
starredRepositories.graphql
This file contains 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 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