Last active
August 29, 2015 14:24
-
-
Save albertstill/b61dd68507f8d4a0536a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query IntrospectionImdbNestedFieldsQuery { | |
__type(name: "Imdb") { | |
name | |
description | |
fields { | |
name | |
description | |
type { | |
name | |
kind | |
ofType { | |
name | |
kind | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"__type": { | |
"name": "Imdb", | |
"description": "IMDb specific fields", | |
"fields": [ | |
{ | |
"name": "id", | |
"description": "IMDb id", | |
"type": { | |
"name": "ID", | |
"kind": "SCALAR", | |
"ofType": null | |
} | |
}, | |
{ | |
"name": "rating", | |
"description": "IMDb rating", | |
"type": { | |
"name": "Float", | |
"kind": "SCALAR", | |
"ofType": null | |
} | |
}, | |
{ | |
"name": "votes", | |
"description": "IMDb votes", | |
"type": { | |
"name": "Int", | |
"kind": "SCALAR", | |
"ofType": null | |
} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment