Skip to content

Instantly share code, notes, and snippets.

@achantavy
Created July 7, 2020 22:52
Show Gist options
  • Select an option

  • Save achantavy/863728257eb2d8cd80185a8a34d19962 to your computer and use it in GitHub Desktop.

Select an option

Save achantavy/863728257eb2d8cd80185a8a34d19962 to your computer and use it in GitHub Desktop.
query = """
query($login: String!, $after: String) {
organization(login: $login)
{
membersWithRole(first:100, after: $after){
edges {
cursor
hasTwoFactorEnabled
node {
login
isSiteAdmin
}
role
}
totalCount
}
repositories(first: 100, after: $after){
pageInfo{
endCursor
hasNextPage
}
nodes{
id
name
nameWithOwner
primaryLanguage{
name
}
url
sshUrl
createdAt
description
updatedAt
homepageUrl
languages(first: 25){
totalCount
nodes{
name
id
}
}
defaultBranchRef{
name
id
}
isPrivate
isArchived
isDisabled
isLocked
owner{
login
id
__typename
}
}
}
}
}
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment