Skip to main content

Summary

Advanced alias for lists.applyStyle. Apply a captured ListTemplate to the target list (abstract-scoped, no clone-on-write).
  • Operation ID: lists.applyTemplate
  • API member path: editor.doc.lists.applyTemplate(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ListsMutateItemResult receipt; reports NO_OP if all levels already match.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE
  • INVALID_TARGET
  • INVALID_INPUT

Non-applied failure codes

  • NO_OP
  • INVALID_TARGET
  • LEVEL_OUT_OF_RANGE
  • INVALID_INPUT

Raw schemas