Skip to main content

Summary

Create a new list from one or more paragraphs. Supports optional preset or style for new sequences. When sequence.mode is “continuePrevious”, preset and style are not allowed: the new items inherit formatting from the previous sequence.
  • Operation ID: lists.create
  • API member path: editor.doc.lists.create(...)
  • Mutates document: yes
  • Idempotency: non-idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ListsCreateResult with the new listId and the first item address.

Input fields

No 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

  • INVALID_TARGET
  • LEVEL_OUT_OF_RANGE
  • INVALID_INPUT
  • NO_COMPATIBLE_PREVIOUS

Raw schemas