目录

列举回复列表

请求

HTTP请求

GET
https://drive.cloud.hicloud.com/drive/v1/files/{fileId}/comments/{commentId}/replies

参数

*仅对必填项做特别说明。

fileIdstring
必填,文件ID。
fileId
stringpath必填,文件ID。
commentIdstringpath必填,评论ID。
pageSizeintegerquery每个返回的格式,默认是100,可接受值最大值是100。注意在到达最后的列表之前,实际有可能返回部分或者空结果。
cursorstringquery当前页游标,由前一个响应的nextCursor获取。
fieldsstringquery必填,采用[Partial-response格式]。
includeDeletedbooleanquery是否包含删除。
formstringquery媒体格式。
prettyPrintbooleanquery是否以美观格式输出。
quotaIdstringquery用户标识,小于40个字符。用于限制单个用户的API访问数量。
callbackstringqueryJSONP的callback函数。
x-hw-trace-idstringheader业务跟踪id。
x-hw-app-idstringheader应用的appid。
versionstringheadersdk版本。
x-hw-terminalstringheader终端型号。
x-hw-osstringheader终端操作系统类型。
unionIDstringheader开放的用户id。
User-Agentstringheader应用版本号/appid。

请求体

请求体为空。

响应

如果成功,此方法将返回具有以下结构的响应正文:

  1. {
  2.            "category": "drive#replyList",
  3.            "nextCursor": "string",
  4.            "replies": [
  5.            {
  6.                "category": "drive#reply",
  7.                "id": "string",
  8.                "createdTime": "2020-02-19T14:44:40.661Z",
  9.                "editedTime": "2020-02-19T14:44:40.661Z",
  10.                "creator": {
  11.                    "category": "drive#user",
  12.                    "displayName": "string",
  13.                    "profilePhotoLink": "string",
  14.                    "me": true,
  15.                    "permissionId": "string",
  16.                    "userAccount": "string"
  17.                },
  18.                "htmlDescription": "string",
  19.                "description": "string",
  20.                "deleted": true,
  21.                "operate": "string"
  22.            }
  23.            ]
  24. }
categorystring类型,固定为drive#commentList。
categorystring类型,固定为drive#replyList。
nextCursorstring下一页游标,为空表示最后一页。
replies[]list回复列表。
replies.categorystring类型,固定为drive#reply。
replies.id
string回复id。
replies.createdTimestring回复创建时间。
replies.editedTimestring回复修改时间。
replies.creator.categorystring类型,固定为drive#user。
replies.creator.displayNamestring用户显示名。
replies.creator.profilePhotoLinkstring用户头像链接(默认不返回)。
replies.creator.meboolean是否是我。
replies.creator.permissionIdstring权限id。
replies.creator.userAccountstring账号名称(默认不返回)。
replies.htmlDescriptionstringhtml内容。
replies.description
string内容。
replies.deletedboolean是否已删除。
replies.operatestring操作。