Access to the template JSON content via javascript?

Previously we could create JSON endpoints with liquid that we could use to access specific information of a page, collection, product etc.

With the templates moving towards a better user experience for editors to manage content, this seems like an even better opportunity for front-end devs to be able to access the JSON created via the design editor in the admin.

Whether via GraphQl, or a simple js fetch to a url it would be great to have access to this data but i can’t seem to find any reference to this anywhere. Am i missing something or is this content completely locked off from this type of request?

I’ve got the same problem. Tech support told me it was possible, and keep linking me to this : https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#detecting-app-blocks-and-app-embed-blocks but it does not help.