Skip to content

Instantly share code, notes, and snippets.

@AetherDevSecOps
Last active April 29, 2021 03:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AetherDevSecOps/1475796283936095bd1f92a024b3f103 to your computer and use it in GitHub Desktop.
Save AetherDevSecOps/1475796283936095bd1f92a024b3f103 to your computer and use it in GitHub Desktop.
GraphQL Get Entire Schema Using Introspection
__schema {
description
queryType {
kind
name
}
mutationType {
kind
name
}
subscriptionType {
kind
name
}
directives {
name
description
isRepeatable
locations
args {
name
defaultValue
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
types {
kind
name
description
specifiedByUrl
enumValues {
name
description
}
fields (includeDeprecated:true) {
name
description
isDeprecated
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
args {
name
defaultValue
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
interfaces {
kind
name
description
specifiedByUrl
}
possibleTypes {
kind
name
description
specifiedByUrl
}
inputFields {
name
description
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
defaultValue
}
ofType {
kind
name
description
specifiedByUrl
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment