drive.comments.list
Lists comments on a Google Drive file, with pagination and filters for deleted comments or modified time, so you can review file feedback and replies.
Instructions
Lists a file's comments. 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, get, 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. | |
| pageSize | No | [query parameter] The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be returned. The maximum value | 20 |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageToken | No | [query parameter] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. | |
| includeDeleted | No | [query parameter] Whether to include deleted comments. Deleted comments will not include their original content. | false |
| startModifiedTime | No | [query parameter] The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| comments | No | ||
| nextPageToken | No |