Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Get a single header/footer slot entry by address.- Operation ID:
headerFooters.get - API member path:
editor.doc.headerFooters.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a HeaderFooterSlotEntry for the targeted section slot.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“headerFooterSlot”) | yes | |
target.headerFooterKind | enum | yes | "header", "footer" |
target.kind | "headerFooterSlot" | yes | Constant: "headerFooterSlot" |
target.section | SectionAddress | yes | SectionAddress |
target.section.kind | "section" | yes | Constant: "section" |
target.section.sectionId | string | yes | |
target.variant | enum | yes | "default", "first", "even" |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
isExplicit | boolean | yes | |
kind | enum | yes | "header", "footer" |
refId | any | no | |
section | SectionAddress | yes | SectionAddress |
section.kind | "section" | yes | Constant: "section" |
section.sectionId | string | yes | |
sectionIndex | integer | yes | |
variant | enum | yes | "default", "first", "even" |
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

