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

Allow API to serve draft pages #1

Closed
Tracked by #89
afred opened this issue Dec 1, 2021 · 1 comment · Fixed by #115
Closed
Tracked by #89

Allow API to serve draft pages #1

afred opened this issue Dec 1, 2021 · 1 comment · Fixed by #115
Assignees
Labels
enhancement ➕ New feature or request

Comments

@afred
Copy link
Contributor

afred commented Dec 1, 2021

Stories

As an API consumer
When I make a request to api/v2/pages/{id}/?draft=true
And when I pass valid authentication credentials
I get a response containing data from my most recent draft of page with id {id}
In order to provide content managers a preview of draft content within a front-end context.

Background

See this SO discussion: https://stackoverflow.com/questions/47551049/wagtail-can-i-use-the-api-for-fetching-read-only-drafts-of-pages-for-review

@afred afred self-assigned this Dec 1, 2021
@mrharpo mrharpo added this to the v0.4.0 Drafts 📝 milestone Jul 25, 2022
@singlesoliloquy
Copy link

@mrharpo mrharpo added the enhancement ➕ New feature or request label Nov 14, 2023
@mrharpo mrharpo mentioned this issue Nov 15, 2023
@mrharpo mrharpo assigned mrharpo and unassigned afred Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ➕ New feature or request
Projects
Status: ✅ Done
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

3 participants