Quantcast
Channel: Why doesn't Ghost Admin API return `html` for drafts
Browsing all 3 articles
Browse latest View live

Why doesn't Ghost Admin API return `html` for drafts

I run the ghost Admin API v3 like this: const GhostAdminAPI = require("@tryghost/admin-api"); const api = new GhostAdminAPI({ url: "some url", key: "somekey", version: "v3", });...

View Article



Image may be NSFW.
Clik here to view.

Why doesn't Ghost Admin API return `html` for drafts

Admin API has formats, the same as Content API, it just returns different formats by default: Ghost - The Professional Publishing Platform Ghost Content API Documentation Ghost's RESTful Content API...

View Article

Why doesn't Ghost Admin API return `html` for drafts

Awesome, thanks, works like this: api.posts.browse({ formats: "html" }).then(....) Read full topic

View Article
Browsing all 3 articles
Browse latest View live




Latest Images