Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.- Operation ID:
lists.setType - API member path:
editor.doc.lists.setType(...) - 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 list is already the requested kind and no sequences were merged.Input fields
Example request
Output fields
Variant 1 (item.kind=“block”)
Variant 2 (success=false)
Example response
Pre-apply throws
TARGET_NOT_FOUNDCAPABILITY_UNAVAILABLEINVALID_TARGETINVALID_INPUT
Non-applied failure codes
NO_OPINVALID_TARGETINVALID_INPUT
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

