Files
GitHawk/gql/SearchRepos.graphql

37 lines
655 B
GraphQL

query SearchRepos($search: String!, $before: String) {
search(first: 100, query: $search, type: REPOSITORY, before: $before){
# Search Results
nodes {
... on Repository {
id
name
hasIssuesEnabled
owner {
login
}
description
pushedAt
primaryLanguage {
name
color
}
stargazers {
totalCount
}
defaultBranchRef {
name
}
}
}
# Information Needed for Paging
pageInfo {
endCursor
hasNextPage
}
# Total Amount of Search Results
repositoryCount
}
}