Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Capture the formatting of a list as a reusable ListTemplate.
  • 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