Skip to main content

Summary

Advanced alias for lists.getStyle. Capture list formatting from the abstract definition only (does not merge lvlOverride formatting).
  • Operation ID: lists.captureTemplate
  • API member path: editor.doc.lists.captureTemplate(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a ListsCaptureTemplateResult containing the captured template.

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

Non-applied failure codes

  • INVALID_TARGET
  • INVALID_INPUT
  • LEVEL_OUT_OF_RANGE

Raw schemas