2022-09-30 21:49:56 +02:00
|
|
|
query Releases($name: String!, $owner: String!, $cursor: String) {
|
|
|
|
repository(name: $name, owner: $owner) {
|
|
|
|
releases(
|
|
|
|
first: 30
|
|
|
|
after: $cursor
|
|
|
|
orderBy: { field: CREATED_AT, direction: DESC }
|
|
|
|
) {
|
|
|
|
pageInfo {
|
2022-09-30 22:50:47 +02:00
|
|
|
hasNextPage
|
|
|
|
endCursor
|
2022-09-30 21:49:56 +02:00
|
|
|
}
|
|
|
|
nodes {
|
|
|
|
tagName
|
|
|
|
description
|
|
|
|
name
|
|
|
|
author {
|
|
|
|
name
|
|
|
|
avatarUrl
|
|
|
|
}
|
|
|
|
publishedAt
|
|
|
|
url
|
|
|
|
releaseAssets(first: 30) {
|
|
|
|
nodes {
|
|
|
|
name
|
|
|
|
downloadUrl
|
|
|
|
downloadCount
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|