REST Resource: replies
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المرجع: الردّ
ردّ على تعليق على ملف
تتطلّب بعض طرق الموارد (مثل replies.update
) استخدام replyId
. استخدِم الطريقة replies.list
لاسترداد معرّف الردّ.
تمثيل JSON |
{
"id": string,
"kind": string,
"createdTime": string,
"modifiedTime": string,
"action": string,
"author": {
object (User )
},
"deleted": boolean,
"htmlContent": string,
"content": string
} |
الحقول |
id |
string
النتائج فقط. رقم تعريف الردّ.
|
kind |
string
النتائج فقط. لتحديد نوع المورد. القيمة: السلسلة الثابتة "drive#reply" .
|
createdTime |
string
النتائج فقط. الوقت الذي تم فيه إنشاء الردّ (بتنسيق التاريخ والوقت RFC 3339)
|
modifiedTime |
string
النتائج فقط. آخر مرة تم فيها تعديل الردّ (التاريخ والوقت بتنسيق RFC 3339)
|
action |
string
الإجراء الذي تم تنفيذه على الردّ في التعليق الرئيسي القيم الصالحة هي:
|
author |
object (User )
النتائج فقط. مؤلف الردّ لن تتم تعبئة عنوان البريد الإلكتروني للمؤلف ورقم تعريف الإذن.
|
deleted |
boolean
النتائج فقط. ما إذا تم حذف الردّ لا يحتوي الردّ المحذوف على أيّ محتوى.
|
htmlContent |
string
النتائج فقط. محتوى الردّ بتنسيق HTML
|
content |
string
محتوى النص العادي للردّ. يُستخدَم هذا الحقل لضبط المحتوى، بينما يجب عرض htmlContent . هذه السمة مطلوبة عند الإنشاء إذا لم يتم تحديد سمة action .
|
الطُرق |
|
لإنشاء ردّ على تعليق. |
|
حذف ردّ |
|
الحصول على ردّ حسب رقم التعريف |
|
تعرض هذه السمة الردود على تعليق. |
|
تعديل ردّ باستخدام دلالات التصحيح |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# REST Resource: replies\n\n- [Resource: Reply](#Reply)\n - [JSON representation](#Reply.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Reply\n---------------\n\nA reply to a comment on a file.\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| ``` { \"id\": string, \"kind\": string, \"createdTime\": string, \"modifiedTime\": string, \"action\": string, \"author\": { object (/workspace/drive/api/reference/rest/v3/User) }, \"deleted\": boolean, \"htmlContent\": string, \"content\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Output only. The ID of the reply. |\n| `kind` | `string` Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#reply\"`. |\n| `createdTime` | `string` Output only. The time at which the reply was created (RFC 3339 date-time). |\n| `modifiedTime` | `string` Output only. The last time the reply was modified (RFC 3339 date-time). |\n| `action` | `string` The action the reply performed to the parent comment. Valid values are: - `resolve` - `reopen` |\n| `author` | `object (`[User](/workspace/drive/api/reference/rest/v3/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 the reply has been deleted. A deleted reply has no content. |\n| `htmlContent` | `string` Output only. The content of the reply with HTML formatting. |\n| `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. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|---------------------------------------|\n| ### [create](/workspace/drive/api/reference/rest/v3/replies/create) | Creates a reply to a comment. |\n| ### [delete](/workspace/drive/api/reference/rest/v3/replies/delete) | Deletes a reply. |\n| ### [get](/workspace/drive/api/reference/rest/v3/replies/get) | Gets a reply by ID. |\n| ### [list](/workspace/drive/api/reference/rest/v3/replies/list) | Lists a comment's replies. |\n| ### [update](/workspace/drive/api/reference/rest/v3/replies/update) | Updates a reply with patch semantics. |"]]