Last active
October 12, 2022 18:06
-
-
Save taras/11f837569c41d120b40ea3deb42b7648 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 AllOrganizations($organization: String!, $endCursor: String) { | |
organizations(first: 100, after: $organization) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
nodes { | |
... OrganizationNode | |
... on Organization { | |
repositories(first: 100, after: $endCursor) { | |
pageInfo { | |
hasNextPage | |
endCursor | |
} | |
nodes { | |
...RepositoryNode | |
} | |
} | |
} | |
} | |
} | |
fragment OrganizationNode on Organization { | |
id | |
login | |
description | |
avatarUrl | |
name | |
createdAt | |
url | |
} | |
fragment RepositoryNode on Repository { | |
url | |
defaultBranchRef { | |
name | |
} | |
__typename | |
isArchived | |
name | |
nameWithOwner | |
url | |
description | |
visibility | |
languages(first: 10) { | |
nodes { | |
__typename | |
name | |
} | |
} | |
repositoryTopics(first: 10) { | |
nodes { | |
__typename | |
topic { | |
name | |
} | |
} | |
} | |
owner { | |
... on Organization { | |
__typename | |
login | |
} | |
... on User { | |
__typename | |
login | |
} | |
} | |
} | |
catalogInfo: object(expression: "HEAD:catalog-info.yaml") { | |
__typename | |
... on Blob { | |
id | |
text | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment