Is it possible to use Ghost’s REST API to query a draft post (to render an article preview)? Currently this preview feature is broken for my application - all pages 404.
Assuming preview posts are accessible via the REST API, I’m assuming we’d have to create some separate route (i.e. /learn/p/post-id vs. the published post route /learn/post-slug)?
Thanks for checking in @Kevin - the fact that the pages 404 is not surprising to me given that in our application that hits our Ghost API, we haven’t defined any route at /learn/p/post-id, which looks to be the URL generated by default in the Ghost editor for post previews.
Seems the primary failure (as @Kate pointed out) is that post drafts are not accessible via the public API. Looks like we could solve that by using the private API once we acquire a bearer token, is that correct?