Google: Gmail users history schemas
5 Google schemas with complete fields and constraints.
← Gmail users history operations · All schemas
Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
history | array | Optional | List of history records. Any `messages` contained in the response will typically only have `id` and `threadId` fields populated. |
history[] | Model | Each item | Expand Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item |
historyId | string | Optional | The ID of the mailbox's current history record. Format: uint64 |
nextPageToken | string | Optional | Page token to retrieve the next page of results in the list. |
Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item
Referenced models: Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item labels Added item, Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item labels Removed item, Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item messages Added item, Gets the specified message — response body
Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item labels Added item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
labelIds | array | Optional | Label IDs added to the message. |
labelIds[] | string | Each item | |
message | Model | Optional | Expand Gets the specified message — response body |
Referenced models: Gets the specified message — response body
Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item labels Removed item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
labelIds | array | Optional | Label IDs removed from the message. |
labelIds[] | string | Each item | |
message | Model | Optional | Expand Gets the specified message — response body |
Referenced models: Gets the specified message — response body
Lists the history of all changes to the given mailbox History results are returned in chronological order (increasing `history Id`) For more information, see Synchronize clients with Gmail (https: developers google com workspace gmail api guides sync) — response body — history item messages Added item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
message | Model | Optional | Expand Gets the specified message — response body |
Referenced models: Gets the specified message — response body