REST Resource: replies
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
روش ها |
---|
| یک پاسخ را حذف می کند. |
| پاسخ می گیرد. |
| یک پاسخ جدید به نظر داده شده ایجاد می کند. |
| همه پاسخهای یک نظر را فهرست میکند. |
| یک پاسخ موجود را به روز می کند. |
| یک پاسخ موجود را به روز می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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. |"]]