Skip to main content

Summary

Set the section break type.
  • Operation ID: sections.setBreakType
  • API member path: editor.doc.sections.setBreakType(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a SectionMutationResult receipt; reports NO_OP if the section already has the requested break type.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
  • INTERNAL_ERROR

Non-applied failure codes

  • NO_OP
  • INVALID_TARGET
  • CAPABILITY_UNAVAILABLE

Raw schemas