Is there a publicly available schema for the Admin GraphQL API?

Is there a publicly available schema for the Admin GraphQL API?

IstohG
Shopify Partner
1 0 2

Does anyone know if there's a publicly-available schema of the Admin API? Or can you only access it via a store's authenticated endpoint (e.g https://<STORE>.myshopify.com/admin/api/<VERSION>/graphql.json)? 

 

I'm in a situation where my continuous integration system needs the schema to generate a client-side library at build time, and the specifics of the CI make it such that I can't pass an environment variable without making it public. Because the authentication header requires a secret key, I obviously don't want to do this. I'm wondering if this info is exposed via a public API, since Shopify exposes a publicly-browsable version of the API in the online documentation.

Reply 1 (1)

sinejoe
Shopify Partner
65 0 16

Bumping this good question for some kind of Shopify response. Many GraphQL client packages support downloading schema json and code-generating typed libraries. It sucks as part of CI to have to embed a store specific URL and auth token to download the non-secret schema. Anyone at Shopify have any insight to offer here?