Document apiReferenceLists
lists.restart
Restart numbering at a list item. Creates a new `w:num` that references the existing `w:abstractNumId` with a `w:lvlOverridew:startOverride//w:lvlOverride`. Distant paragraphs sharing the old numId are intentionally untouched. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.
mutates documenttracked modenon-idempotent
doc.lists.restart(…)Expected result
Returns a ListsMutateItemResult receipt with txId; partsChanged includes /word/numbering.xml.
Inputs
targetparagraph | listItemrequiredparagraph
kind"block"requirednodeType"paragraph"requirednodeIdstringrequiredlistItem
kind"block"requirednodeType"listItem"requirednodeIdstringrequired1 additional input field
startAtintegerResult
Output fields
true
successtruerequireditemListItemAddressrequiredFields
kind"block"requirednodeType"listItem"requirednodeIdstringrequiredstoryStoryLocatorStory scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes.
body
kind"story"requiredstoryType"body"requiredheaderFooterSlot
kind"story"requiredstoryType"headerFooterSlot"requiredsectionSectionAddressrequiredheaderFooterKind"header" | "footer"requiredvariant"default" | "first" | "even"requiredresolution"effective" | "explicit"onWrite"materializeIfInherited" | "editResolvedPart" | "error"headerFooterPart
kind"story"requiredstoryType"headerFooterPart"requiredrefIdstringrequiredfootnote
kind"story"requiredstoryType"footnote"requirednoteIdstringrequiredendnote
kind"story"requiredstoryType"endnote"requirednoteIdstringrequiredtextbox
kind"story"requiredstoryType"textbox"requiredtextboxIdstringrequiredaffectedStoriesStoryLocator[]remappedRefsAffectedRefRemapping[]textRangeShiftsTextRangeShift[]txIdstringchangedbooleantrackedChangeRefsTrackedChangeAddress[]false
successfalserequiredfailureobjectrequiredFields
code"INVALID_TARGET" | "TARGET_NOT_FOUND" | "CAPABILITY_UNAVAILABLE" | "INVALID_CONTEXT" | "INVALID_INPUT"requiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDCAPABILITY_UNAVAILABLEINVALID_TARGET
1 more codes
INVALID_INPUT
Non-applied receipt codes
INVALID_TARGETTARGET_NOT_FOUNDCAPABILITY_UNAVAILABLE
2 more codes
INVALID_CONTEXTINVALID_INPUT
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas