Alpha: Document API is currently alpha and subject to breaking changes.
Summary
- Operation ID:
comments.get - API member path:
editor.doc.comments.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
commentId | string | yes |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | CommentAddress | yes | CommentAddress |
anchoredText | string | no | |
commentId | string | yes | |
createdTime | number | no | |
creatorEmail | string | no | |
creatorName | string | no | |
importedId | string | no | |
isInternal | boolean | no | |
parentCommentId | string | no | |
status | enum | yes | "open", "resolved" |
target | TextTarget | no | TextTarget |
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

