Skip to content

Instantly share code, notes, and snippets.

@ApprenticeGC
Last active October 3, 2017 10:02
Show Gist options
  • Select an option

  • Save ApprenticeGC/a85ff6ec50f887924717cd92872103a9 to your computer and use it in GitHub Desktop.

Select an option

Save ApprenticeGC/a85ff6ec50f887924717cd92872103a9 to your computer and use it in GitHub Desktop.
Some grapnel query
query {
viewer {
login
}
}
query {
organization(login: "nodejs") {
members(last: 10) {
edges {
node {
followers(last: 5) {
edges {
node {
organizations(last: 2) {
edges {
node {
name
}
}
}
}
}
}
}
}
}
}
}
query {
organization(login: "nodejs") {
name
url
repository(name: "node") {
issues(last: 3) {
edges {
node {
id
title
participants(last: 3) {
edges {
node {
login
}
}
}
}
}
}
}
}
}
query {
organization(login: "nodejs") {
name
url
repositories(last: 10) {
edges {
node {
name
}
}
}
}
}
query {
organization(login: "nodejs") {
name
url
repository(name: "node") {
tags: refs(refPrefix: "refs/tags/", first: 5, direction: DESC) {
edges {
tag: node {
name
target {
__typename
sha: oid
... on Commit {
author {
name
email
date
}
}
... on Tag {
tagger {
name
email
date
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment