Variable listTeamsInOrgQuery

Source
Expand description

GraphQL query for listing teams in a GitHub organization.

remarks

This query retrieves all teams in a GitHub organization, including their metadata, associated projects V2, and repositories. Supports filtering teams and repositories by search queries.

example
query listTeamsInOrg($organizationLogin: String!, $repoQuery: String!, $teamQuery: String) {
organization(login: $organizationLogin) {
login,
teams(first: 100, query: $teamQuery) {
nodes { id, name, projectsV2(...), repositories(...) }
}
}
}
const listTeamsInOrgQuery: string...