Advertisement
Aliendreamer

graphql introspection query

Apr 6th, 2021
901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.20 KB | None | 0 0
  1. query IntrospectionQuery {
  2.    __schema {
  3.       queryType {
  4.          name
  5.       }
  6.       mutationType {
  7.          name
  8.       }
  9.       subscriptionType {
  10.          name
  11.       }
  12.       types {
  13.          ...FullType
  14.       }
  15.       directives {
  16.          name
  17.          description
  18.          args {
  19.             ...InputValue
  20.          }
  21.       }
  22.    }
  23. }
  24. fragment FullType on __Type {
  25.    kind
  26.    name
  27.    description
  28.    fields(includeDeprecated: true) {
  29.       name
  30.       description
  31.       args {
  32.          ...InputValue
  33.       }
  34.       type {
  35.          ...TypeRef
  36.       }
  37.       isDeprecated
  38.       deprecationReason
  39.    }
  40.    inputFields {
  41.       ...InputValue
  42.    }
  43.    interfaces {
  44.       ...TypeRef
  45.    }
  46.    enumValues(includeDeprecated: true) {
  47.       name
  48.       description
  49.       isDeprecated
  50.       deprecationReason
  51.    }
  52.    possibleTypes {
  53.       ...TypeRef
  54.    }
  55. }
  56. fragment InputValue on __InputValue {
  57.    name
  58.    description
  59.    type {
  60.       ...TypeRef
  61.    }
  62.    defaultValue
  63. }
  64. fragment TypeRef on __Type {
  65.    kind
  66.    name
  67.    ofType {
  68.       kind
  69.       name
  70.       ofType {
  71.          kind
  72.          name
  73.          ofType {
  74.             kind
  75.             name
  76.          }
  77.       }
  78.    }
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement