| title | trackChanges.get |
|---|---|
| sidebarTitle | trackChanges.get |
| description | Retrieve a single tracked change by ID. |
{/* GENERATED FILE: DO NOT EDIT. Regenerate via pnpm run docapi:sync. */}
Retrieve a single tracked change by ID.
- Operation ID:
trackChanges.get - API member path:
editor.doc.trackChanges.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Returns a TrackChangeInfo object with the change type (insert, delete, replacement, format, structural), author, date, affected content, and raw imported Word OOXML revision IDs (w:id) when available. Structural changes (whole-table insert/delete) carry a subtype of table-insert or table-delete.
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | |
story |
StoryLocator | no | StoryLocator |
{
"id": "id-001",
"story": {
"kind": "story",
"storyType": "body"
}
}| Field | Type | Required | Description |
|---|---|---|---|
address |
TrackedChangeAddress | yes | TrackedChangeAddress |
address.entityId |
string | yes | |
address.entityType |
"trackedChange" |
yes | Constant: "trackedChange" |
address.kind |
"entity" |
yes | Constant: "entity" |
address.story |
StoryLocator | no | StoryLocator |
author |
string | no | |
authorEmail |
string | no | |
authorImage |
string | no | |
date |
string | no | |
deletedText |
string | no | |
excerpt |
string | no | |
grouping |
enum | no | "standalone", "replacement-pair", "unknown" |
id |
string | yes | |
insertedText |
string | no | |
pairedWithChangeId |
string | null | no | |
subtype |
enum | no | "table-insert", "table-delete" |
type |
enum | yes | "insert", "delete", "replacement", "format", "structural" |
wordRevisionIds |
object | no | |
wordRevisionIds.delete |
string | no | |
wordRevisionIds.format |
string | no | |
wordRevisionIds.insert |
string | no |
{
"address": {
"entityId": "entity-789",
"entityType": "trackedChange",
"kind": "entity",
"story": {
"kind": "story",
"storyType": "body"
}
},
"grouping": "standalone",
"id": "id-001",
"subtype": "table-insert",
"type": "insert"
}TARGET_NOT_FOUND
- None