Skip to content

Instantly share code, notes, and snippets.

@thomsbg
Last active March 26, 2018 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomsbg/ffea66bd800634c080ced7a8eff5b243 to your computer and use it in GitHub Desktop.
Save thomsbg/ffea66bd800634c080ced7a8eff5b243 to your computer and use it in GitHub Desktop.
volume + sbn schema stitching
# in tower:
query {
volumeProjects(communityId: 441, q: "Hillary") {
name # from volume api
contributorIds # from volume api, chorus user ids of the video's "contributors" (not sure if this is a thing, just an example)
contributors {
fullName # from sbn api, able to be efficiently resolved by batching multiple user-by-ids queries.
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment