Alpha: Document API is currently alpha and subject to breaking changes.
Summary
- Operation ID:
getNode - API member path:
editor.doc.getNode(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Input fields
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
bodyNodes | object[] | no | |
bodyText | string | no | |
kind | enum | yes | "block", "inline" |
nodeType | enum | yes | "paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "image", "sdt", "run", "bookmark", "comment", "hyperlink", "footnoteRef", "tab", "lineBreak" |
nodes | object[] | no | |
properties | object | no | |
summary | object | no | |
text | string | no |
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

