replies

PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}

Changed on

Updates a reply with patch semantics. For more information, see Manage comments and replies.

Request

  • Base URL
    https://www.googleapis.com/drive/v3
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/drive
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/drive
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/drive.file
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/drive.file

Path parameters

fileIdstring required

The ID of the file.

commentIdstring required

The ID of the comment.

replyIdstring required

The ID of the reply.

Request body

actionstring

The action the reply performed to the parent comment. The supported values are: * resolve * reopen

assigneeEmailAddressstring

Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.

contentstring

The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This field is required by the create method if no action value is specified.

createdTimestring date-time

The time at which the reply was created (RFC 3339 date-time).

deletedboolean

Output only. Whether the reply has been deleted. A deleted reply has no content.

htmlContentstring

Output only. The content of the reply with HTML formatting.

idstring

Output only. The ID of the reply.

kindstring

Output only. Identifies what kind of resource this is. Value: the fixed string "drive#reply".

mentionedEmailAddressesstring[]

Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.

modifiedTimestring date-time

The last time the reply was modified (RFC 3339 date-time).

Response

Successful response

actionstring

The action the reply performed to the parent comment. The supported values are: * resolve * reopen

assigneeEmailAddressstring

Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.

contentstring

The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This field is required by the create method if no action value is specified.

createdTimestring date-time

The time at which the reply was created (RFC 3339 date-time).

deletedboolean

Output only. Whether the reply has been deleted. A deleted reply has no content.

htmlContentstring

Output only. The content of the reply with HTML formatting.

idstring

Output only. The ID of the reply.

kindstring

Output only. Identifies what kind of resource this is. Value: the fixed string "drive#reply".

mentionedEmailAddressesstring[]

Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.

modifiedTimestring date-time

The last time the reply was modified (RFC 3339 date-time).

Changes

    • info

      the security scope https://www.googleapis.com/auth/drive was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/drive.file was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive.file was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/drive was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/drive.file was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive.file was removed from the endpoint's security scheme Oauth2c