September 25, 2024
Get graphql schema from Contentful
get-schema.shShell
npm install -g graphqurl
gq https://graphql.contentful.com/content/v1/spaces/<space_id>/environments/<environment_name> -H 'Authorization: Bearer <CONTENTFUL_ACCESS_TOKEN>' --introspect > schema.graphql