Hello,
I’m currently trying to expose some page or some page including it’s sub-pages via a JSON API. I have found the following page: Rendering special formats - Rendering - Manual - Neos CMS - Neos Docs or this blog article: Building a Rich Content API with Neos for your React App and this topic: Neos as Headless CMS - #23 by pawankct91.
The first two articles seem to be outdated respective I’m not sure if this is still the way to go. The Headless topic link proposes to use a GraphQL package.
I would like to keep it simple as possible and just write some Fusion/AFX script which would output the current node data, e.g. at /site/my-page called with /de/my-page.json as JSON output.
Is there any good example or tutorial or advices on how to do that with Fusion/AFX? For some pointes I would be glad, thanks!