Log in to see full request history

You can get draft content from the Rooftop API by including an include-drafts: true header in the request.

📘

Getting only draft content

There's an open ticket for adding the ability to filter on post_status when you're including drafts. For now, you'll need to check the post_status of the returned data.

Headers
string
Defaults to true

Include drafts in the response

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json