...
The REST payload contains excessive data if your goal is to retrieve only member names and links to avatars. However, a GraphQL query returns only what you specify:
Code Block |
---|
query { viewer { organization(login:"Scope") { members(first: 10) { edges { node { name avatar { fileUrl } } } } } } } |
Example: Nesting
...