Skip to main content

Summary

Advanced alias for lists.setLevelNumberStyle/setLevelText/setLevelStart. Set format, pattern, and start in one call (abstract-scoped, no clone-on-write).
  • Operation ID: lists.setLevelNumbering
  • API member path: editor.doc.lists.setLevelNumbering(...)
  • 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 the level already matches.

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

Non-applied failure codes

  • NO_OP
  • INVALID_TARGET
  • LEVEL_OUT_OF_RANGE
  • LEVEL_NOT_FOUND

Raw schemas