Closed foglabs closed 9 months ago
As a content curator When I navigate to a draft page at /preview with a valid content_type and token, the frontend should:
/preview
content_type
token
ov-wag/api/v2/page_preview/?...
id
ov-wag/api/v2/page_preview/{id}/?...
exhibit
collections
PagePreviewAPI
Preview requests for exhibit and collection pages show latest preview of the page.
wagtail-headless-preview
Because
As a content curator When I navigate to a draft page at
/preview
with a validcontent_type
andtoken
, the frontend should:ov-wag/api/v2/page_preview/?...
content_type
andtoken
url params along, so ov-wag can authenticate draft should be viewableid
and make a request toov-wag/api/v2/page_preview/{id}/?...
, with the url parametersexhibit
orcollections
page, depending oncontent_type
, using thePagePreviewAPI
valuesDone when
Preview requests for exhibit and collection pages show latest preview of the page.
Additional context
wagtail-headless-preview