Skip to content
Discussion options

You must be logged in to vote

I discovered this can be accomplished with the Graph QL:

query GetImmediateMemberships($teamNextCursor: String) {
    organization(login: "X") {
        teams(first: 100, after: $teamNextCursor) {
        nodes {
            slug
            members(membership: IMMEDIATE) {
            nodes {
                login
            }
            pageInfo {
                endCursor
                hasNextPage
            }
            }
        }
        pageInfo {
            endCursor
            hasNextPage
        }
        }
    }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yardensachs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions related to GitHub's APIs or Webhooks Product Feedback Share your thoughts and suggestions on GitHub features and improvements Question Ask and answer questions about GitHub features and usage
1 participant