Skip to content

Instantly share code, notes, and snippets.

@rokob
Last active April 17, 2019 16:32
Show Gist options
  • Save rokob/02a00050240c1303b1437549acc57e1e to your computer and use it in GitHub Desktop.
Save rokob/02a00050240c1303b1437549acc57e1e to your computer and use it in GitHub Desktop.
[
{"id": 1, "name": "Alice", "admin": true},
{"id": 4, "name": "Mark", "admin": false}
]
{
"id": 4,
"name": "Mark",
"admin": false,
"photo_url": "https://x.y/z.jpg",
"email": "[email protected]"
}
[
{"id": 1, "name": "web", "active": true, "last_item_time": 1555482828},
{"id": 3, "name": "api", "active": true, "last_item_time": 1555482539}
]
{
"id": 1,
"name": "web",
"active": true,
"last_item_time": 1555482828,
"owners": [
{"id": 4, "name": "Mark"}
],
"total_items": 402
}
[
{"id": 341, "title": "Bork", "timestamp": 1555482828},
{"id": 123, "title": "Wat", "timestamp": 1555482728},
]
{
"id": 341,
"title": "Bork",
"timestamp": 1555482828,
"level": "error",
"trace": []
}
{
user(id: 3500401) {
id,
name,
isViewerFriend,
profilePicture(size: 50) {
uri,
width,
height
}
}
}
{
"user" : {
"id": 3500401,
"name": "Jing Chen",
"isViewerFriend": true,
"profilePicture": {
"uri": "http://someurl.cdn/pic.jpg",
"width": 50,
"height": 50
}
}
}
{
users {
id
name
photoUrl
projects {
id
name
items(limit: 2, orderBy: "timestamp", desc: true) {
id
level
title
timestamp
}
}
}
}
query {
viewer {
repositories(first: 50) {
edges {
repository:node {
name
issues(first: 10) {
totalCount
edges {
node {
title
bodyHTML
}
}
}
}
}
}
}
}
query {
me {
name
friends {
name
friends {
name
friends {
name
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment