Document apiReferenceSections
sections.setBreakType
Set the section break type.
mutates documentdry runconditional
doc.sections.setBreakType(…)Expected result
Returns a SectionMutationResult receipt; reports NO_OP if the section already has the requested break type.
Inputs
targetSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredbreakType"continuous" | "nextPage" | "evenPage" | "oddPage"requiredResult
Output fields
true
successtruerequiredsectionSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredfalse
successfalserequiredfailureobjectrequiredFields
code"NO_OP" | "INVALID_TARGET" | "CAPABILITY_UNAVAILABLE"requiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
2 more codes
CAPABILITY_UNAVAILABLEINTERNAL_ERROR
Non-applied receipt codes
NO_OPINVALID_TARGETCAPABILITY_UNAVAILABLE
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas