Comments: get

Gets a comment by ID. Try it now.

Request

HTTP request

GET https://www.googleapis.com/drive/v3/files/fileId/comments/commentId

Parameters

Parameter name Value Description
Path parameters
commentId string The ID of the comment.
fileId string The ID of the file.
Optional query parameters
includeDeleted boolean Whether to return deleted comments. Deleted comments will not include their original content. (Default: false)

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Comments resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Drive REST API
Drive REST API
Need help? Visit our support page.