Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support preview feature #30

Closed
nrempel opened this issue Feb 3, 2019 · 2 comments
Closed

Support preview feature #30

nrempel opened this issue Feb 3, 2019 · 2 comments

Comments

@nrempel
Copy link

nrempel commented Feb 3, 2019

Hi there,

Is it possible to query the content API to include drafts in the posts request? I would like to support the preview feature offered by the admin dashboard.

I notice there is no mention of drafts here: https://docs.ghost.org/api/content/#posts

But there is mention of drafts here: https://api.ghost.org/docs/posts

Does anyone know if this is currently possible?

Thanks!

@nrempel
Copy link
Author

nrempel commented Feb 3, 2019

I dug around in the source code a bit and as far as I can tell, this is not currently possible. (Please correct me if I'm wrong!)

I have made a proposal on the forum to support this use case: https://forum.ghost.org/t/allow-querying-drafts-from-content-api-by-id-only/5443

@aileen
Copy link
Member

aileen commented Feb 26, 2019

Hey there @nrempel 👋

Sorry for the delay 😔

You are right, because we're using the Content API in the Ghost source plugin, we're currently not able to get preview links.

The best way currently is exactly what you did: opening a forum topic so people can vote on that one.

That being said, I'm closing this issue now, as we only keep issues open for bug reports.

@aileen aileen closed this as completed Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants