drive.comments.get
Retrieve a specific Google Drive comment by file ID and comment ID, using the required fields parameter to return only the comment details you need.
Instructions
Gets a comment by ID. For more information, see Manage comments and replies. Required: The fields parameter must be set. To return the exact fields you need, see Return specific fields [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: create, delete, list, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| fileId | Yes | [URL path segment] The ID of the file. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| commentId | Yes | [URL path segment] The ID of the comment. | |
| includeDeleted | No | [query parameter] Whether to return deleted comments. Deleted comments will not include their original content. | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| anchor | No | ||
| author | No | ||
| content | No | ||
| deleted | No | ||
| replies | No | ||
| resolved | No | ||
| createdTime | No | ||
| htmlContent | No | ||
| modifiedTime | No | ||
| quotedFileContent | No | ||
| assigneeEmailAddress | No | ||
| mentionedEmailAddresses | No |