List
|
|||||
|
|
Lists a comment's replies
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- See, edit, create, and delete all of your Google Drive files
- View and manage Google Drive files and folders that you have opened or created with this app
- See and download all your Google Drive files
Input
This building block consumes 5 input parameters
Name | Format | Description |
---|---|---|
fileId Required |
STRING |
The ID of the file |
commentId Required |
STRING |
The ID of the comment |
includeDeleted |
BOOLEAN |
Whether to include deleted replies. Deleted replies will not include their original content |
pageSize |
INTEGER |
The maximum number of replies to return per page |
pageToken |
STRING |
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 |
= Parameter name
= Format
fileId STRING Required The ID of the file |
commentId STRING Required The ID of the comment |
includeDeleted BOOLEAN Whether to include deleted replies. Deleted replies will not include their original content |
pageSize INTEGER The maximum number of replies to return per page |
pageToken STRING 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 |
Output
This building block provides 18 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#replyList" |
nextPageToken |
STRING |
The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results |
replies[] |
OBJECT |
A reply to a comment on a file |
replies[].action |
STRING |
The action the reply performed to the parent comment. Valid values are:
|
replies[].author |
OBJECT |
Information about a Drive user |
replies[].author.displayName |
STRING |
A plain text displayable name for this user |
replies[].author.emailAddress |
STRING |
The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester |
replies[].author.kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#user" |
replies[].author.me |
BOOLEAN |
Whether this user is the requesting user |
replies[].author.permissionId |
STRING |
The user's ID as visible in Permission resources |
replies[].author.photoLink |
STRING |
A link to the user's profile photo, if available |
replies[].content |
STRING |
The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
replies[].createdTime |
DATE_TIME |
The time at which the reply was created (RFC 3339 date-time) |
replies[].deleted |
BOOLEAN |
Whether the reply has been deleted. A deleted reply has no content |
replies[].htmlContent |
STRING |
The content of the reply with HTML formatting |
replies[].id |
STRING |
The ID of the reply |
replies[].kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
replies[].modifiedTime |
DATE_TIME |
The last time the reply was modified (RFC 3339 date-time) |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#replyList" |
nextPageToken STRING The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results |
replies[] OBJECT A reply to a comment on a file |
replies[].action STRING The action the reply performed to the parent comment. Valid values are:
|
replies[].author OBJECT Information about a Drive user |
replies[].author.displayName STRING A plain text displayable name for this user |
replies[].author.emailAddress STRING The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester |
replies[].author.kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#user" |
replies[].author.me BOOLEAN Whether this user is the requesting user |
replies[].author.permissionId STRING The user's ID as visible in Permission resources |
replies[].author.photoLink STRING A link to the user's profile photo, if available |
replies[].content STRING The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified |
replies[].createdTime DATE_TIME The time at which the reply was created (RFC 3339 date-time) |
replies[].deleted BOOLEAN Whether the reply has been deleted. A deleted reply has no content |
replies[].htmlContent STRING The content of the reply with HTML formatting |
replies[].id STRING The ID of the reply |
replies[].kind STRING Identifies what kind of resource this is. Value: the fixed string "drive#reply" |
replies[].modifiedTime DATE_TIME The last time the reply was modified (RFC 3339 date-time) |