How can I get the content of unpublished (draft) pages

I’m trying to load the body.storage of a page being edited.

When using /wiki/rest/api/content/{id}?expand=body.storage
I get the content of the published version of the page

When using /wiki/rest/api/content/{id}?expand=body.storage&status=draft
I get an empty value

How can I get the current draft content of the page?

Thanks

1 Like