I’m having trouble getting access to the mobiledoc format for posts and pages using the content-api.
If I send a get request, to posts or a single post by slug, I get the format shown without the mobile doc.
I can get both html and plaintext fine.
Am I trying to use the following formats field as described in the content API documentation.
Conent API Documentation
My site is is running ghost 2.18.1.
I get this problem using both the Javascript API Client and issuing posts in postman. I use “formats” as shown below.
const page = await ghostAPI().pages.read({
slug,
include: 'tags,authors',
formats: 'mobiledoc'
})
Please let me know if I’m doing something wrong or something is broken.
Thanks in advance!