Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Retrieve details of a specific hyperlink by its inline address.- Operation ID:
hyperlinks.get - API member path:
editor.doc.hyperlinks.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a HyperlinkInfo object with the address, destination properties, and display text.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“inline”) | yes | |
target.anchor | InlineAnchor | yes | InlineAnchor |
target.anchor.end | Position | yes | Position |
target.anchor.end.blockId | string | yes | |
target.anchor.end.offset | integer | yes | |
target.anchor.start | Position | yes | Position |
target.anchor.start.blockId | string | yes | |
target.anchor.start.offset | integer | yes | |
target.kind | "inline" | yes | Constant: "inline" |
target.nodeType | "hyperlink" | yes | Constant: "hyperlink" |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | object(kind=“inline”) | yes | |
address.anchor | InlineAnchor | yes | InlineAnchor |
address.anchor.end | Position | yes | Position |
address.anchor.end.blockId | string | yes | |
address.anchor.end.offset | integer | yes | |
address.anchor.start | Position | yes | Position |
address.anchor.start.blockId | string | yes | |
address.anchor.start.offset | integer | yes | |
address.kind | "inline" | yes | Constant: "inline" |
address.nodeType | "hyperlink" | yes | Constant: "hyperlink" |
properties | object | yes | |
properties.anchor | string | no | |
properties.docLocation | string | no | |
properties.href | string | no | |
properties.rel | string | no | |
properties.target | string | no | |
properties.tooltip | string | no | |
text | string | no |
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGET
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

