How to get GQL Schema

Environment

  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: 3.15

I’m trying to get GQL Schema from the Squidex using the apollo tool:

yarn apollo service:download --endpoint https://DOMAIN/app/PROJECT/api/graphql --header "Authorization: Bearer TOKEN"

But getting the following error which basically means that there is no GQL Scheme in response:

Error: ServerParseError: Unexpected end of JSON input

How to get the schema from the squidex?

This one can be closed

Why? If you have a solution, please post it.