How to get repo teams via GraphQL?

In API v3 I would call this method https://developer.github.com/v3/repos/#list-teams

GET /repos/:owner/:repo/teams

But I don’t see any team fields in a Repository object.

What should I do?

3 Likes

Anyone found a hint?

I could not find a way and retrieved the teams from my org and then used the teams to get the repos.