REST Resource: replies
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
方法 |
|
刪除回覆。 |
|
取得回覆。 |
|
針對指定的留言建立新回覆。 |
|
列出所有留言回覆。 |
|
更新現有回覆。 |
|
更新現有回覆。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# REST Resource: replies\n\n- [Resource: CommentReply](#CommentReply)\n - [JSON representation](#CommentReply.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: CommentReply\n----------------------\n\nA comment on a file in Google Drive.\n\nSome resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"replyId\": string, \"kind\": string, \"createdDate\": string, \"modifiedDate\": string, \"verb\": string, \"author\": { object (/workspace/drive/api/reference/rest/v2/User) }, \"deleted\": boolean, \"htmlContent\": string, \"content\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `replyId` | `string` Output only. The ID of the reply. |\n| `kind` | `string` Output only. This is always `drive#commentReply`. |\n| `createdDate` | `string` Output only. The date when this reply was first created. |\n| `modifiedDate` | `string` Output only. The date when this reply was last modified. |\n| `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. |\n| `author` | `object (`[User](/workspace/drive/api/reference/rest/v2/User)`)` Output only. The author of the reply. The author's email address and permission ID will not be populated. |\n| `deleted` | `boolean` Output only. 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. |\n| `htmlContent` | `string` Output only. HTML formatted content for this reply. |\n| `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). |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|-------------------------------------------|\n| ### [delete](/workspace/drive/api/reference/rest/v2/replies/delete) | Deletes a reply. |\n| ### [get](/workspace/drive/api/reference/rest/v2/replies/get) | Gets a reply. |\n| ### [insert](/workspace/drive/api/reference/rest/v2/replies/insert) | Creates a new reply to the given comment. |\n| ### [list](/workspace/drive/api/reference/rest/v2/replies/list) | Lists all of the replies to a comment. |\n| ### [patch](/workspace/drive/api/reference/rest/v2/replies/patch) | Updates an existing reply. |\n| ### [update](/workspace/drive/api/reference/rest/v2/replies/update) | Updates an existing reply. |"]]