Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Configure numbering and placement for footnotes or endnotes.- Operation ID:
footnotes.configure - API member path:
editor.doc.footnotes.configure(...) - Mutates document:
yes - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a FootnoteConfigResult indicating success or a failure.Input fields
| Field | Type | Required | Description | |
|---|---|---|---|---|
numbering | object | no | ||
numbering.format | enum | no | "decimal", "lowerRoman", "upperRoman", "lowerLetter", "upperLetter", "symbol" | |
numbering.position | enum | no | "pageBottom", "beneathText", "sectionEnd", "documentEnd" | |
numbering.restartPolicy | enum | no | "continuous", "eachSection", "eachPage" | |
numbering.start | integer | no | ||
scope | object(kind=“document”) \ | object(kind=“section”) | yes | One of: object(kind=“document”), object(kind=“section”) |
type | enum | yes | "footnote", "endnote" |
Example request
Output fields
Variant 1 (success=true)
| Field | Type | Required | Description |
|---|---|---|---|
success | true | yes | Constant: true |
Variant 2 (success=false)
| Field | Type | Required | Description |
|---|---|---|---|
failure | object | yes | |
failure.code | string | yes | |
failure.details | any | no | |
failure.message | string | yes | |
success | false | yes | Constant: false |
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUTCAPABILITY_UNAVAILABLE
Non-applied failure codes
- None
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

