Document apiReferenceLists
lists.getStyle
Read the effective reusable style of a list, including instance-level overrides. Returns a ListStyle that can be applied to other lists via lists.applyStyle.
read-onlyidempotent
doc.lists.getStyle(…)Expected result
Returns a ListsGetStyleResult containing the captured style.
Inputs
targetListItemAddressrequiredFields
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"requiredtextboxIdstringrequired1 additional input field
levelsinteger[]Result
Output fields
true
successtruerequiredstyleobjectrequiredFields
version1requiredlevelsobject[]requiredfalse
successfalserequiredfailureobjectrequiredFields
code"INVALID_TARGET" | "INVALID_INPUT" | "LEVEL_OUT_OF_RANGE"requiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
Non-applied receipt codes
INVALID_TARGETINVALID_INPUTLEVEL_OUT_OF_RANGE
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