Skip to main content

Summary

Apply a reusable list style to the target list. Sequence-local: if the abstract definition is shared with other lists, it is cloned first to avoid affecting them.
  • Operation ID: lists.applyStyle
  • API member path: editor.doc.lists.applyStyle(...)
  • 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
  • INVALID_INPUT
  • LEVEL_OUT_OF_RANGE

Raw schemas