Skip to main content
draftContent(input: GetDraftContentInput!): DraftContent
Missing drafts return null; the legacy body field represents a null snapshot as an empty string and entityType echoes the requested hint. Restricted server-function source is denied or omitted when the file is not readable. Requires project.files.read.

Arguments

Input fields

input

GetDraftContentInput

Response

Returns DraftContent. Open the type for its fields and nested types. Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example