In GraphQL the schema file is used to describe the shape of data available for requesting. This is the core of any GraphQL API.
Some IDEs and interactive plugins allow are able to interpret the schema in real time which helps with query and mutation creation or just looking up available object types and constraints in a predictable manner.
The easiest way to access the GraphQL schema is to download it yourself 🤓
1. Install get-graphql-schema library using the below command:
npm install -g get-graphql-schema
get-graphql-schema https://api.stitch.money/graphql --json > schema.json
2b. Use the command below to download the schema in SDL format to a directory on your machine
get-graphql-schema https://api.stitch.money/graphql > schema.sdl
For more information on how to use GraphQL read our blog post here 🔖