Skip to content

Instantly share code, notes, and snippets.

@albertstill
Last active August 29, 2015 14:24
Show Gist options
  • Save albertstill/fcf979fcde07b1a4c72b to your computer and use it in GitHub Desktop.
Save albertstill/fcf979fcde07b1a4c72b to your computer and use it in GitHub Desktop.
query IntrospectionQueryTypeQuery {
__schema {
queryType {
name
fields {
name
description
type {
name
kind
}
args {
name
type {
name
kind
ofType {
name
kind
}
}
}
}
}
}
}
{
"data": {
"__schema": {
"queryType": {
"name": "Query",
"fields": [
{
"name": "movie",
"description": "Find a movie, series or epidsode by its title",
"type": {
"name": "Movie",
"kind": "OBJECT"
},
"args": [
{
"name": "title",
"type": {
"name": null,
"kind": "NON_NULL",
"ofType": {
"name": "String",
"kind": "SCALAR"
}
}
}
]
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment