Skip to content

GraphQL introspection guide

Dominique edited this page Jan 22, 2020 · 3 revisions

a1. Getting list of available types:

{
  __schema {
    types {
      name
    }
  }
}

a2. Getting a list of available queries:

{
  __type(name: "Query") {
    name
    fields {
      name
    }
  }
}

Clone this wiki locally