Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Retrieve details of a specific TC (table of contents entry) field.- Operation ID:
toc.getEntry - API member path:
editor.doc.toc.getEntry(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a TocEntryInfo object with the instruction, text, level, and switch configuration.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“inline”) | yes |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
kind | "inline" | yes | Constant: "inline" |
nodeType | "tableOfContentsEntry" | yes | Constant: "tableOfContentsEntry" |
properties | object | yes |
Example response
Pre-apply throws
TARGET_NOT_FOUND
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

