Replies

Stay organized with collections Save and categorize content based on your preferences.

For a list of methods for this resource, see the end of this page.

Resource representations

A comment on a file in Google Drive.

{
  "kind": "drive#commentReply",
  "replyId": string,
  "createdDate": datetime,
  "modifiedDate": datetime,
  "author": {
    "kind": "drive#user",
    "displayName": string,
    "picture": {
      "url": string
    },
    "isAuthenticatedUser": boolean,
    "permissionId": string,
    "emailAddress": string
  },
  "htmlContent": string,
  "content": string,
  "deleted": boolean,
  "verb": string
}
Property name Value Description Notes
kind string This is always drive#commentReply.
replyId string The ID of the reply.
createdDate datetime The date when this reply was first created.
modifiedDate datetime The date when this reply was last modified.
author nested object The author of the reply. The author's email address and permission ID will not be populated.
author.kind string This is always drive#user.
author.displayName string A plain text displayable name for this user.
author.picture object The user's profile picture.
author.picture.url string A URL that points to a profile picture of this user.
author.isAuthenticatedUser boolean Whether this user is the same as the authenticated user for whom the request was made.
htmlContent string HTML formatted content for this reply.
content string The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen). writable
deleted boolean Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
verb string The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
  • "resolve" - To resolve a comment.
  • "reopen" - To reopen (un-resolve) a comment.
writable
author.permissionId string The user's ID as visible in the permissions collection.
author.emailAddress string The email address of the user.

Methods

delete
Deletes a reply.
get
Gets a reply.
insert
Creates a new reply to the given comment.
list
Lists all of the replies to a comment.
patch
Updates an existing reply.
update
Updates an existing reply.