Method: replies.update
מעדכן תשובה עם סמנטיקה של תיקון.
בקשת HTTP
PATCH https://www.googleapis.com/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
fileId |
string
מזהה הקובץ.
|
commentId |
string
מזהה התגובה.
|
replyId |
string
המזהה של התשובה.
|
גוף הבקשה
גוף הבקשה מכיל מופע של Reply
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Reply
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
חלק מההיקפים מוגבלים ומחייבים בדיקת אבטחה כדי שהאפליקציה תוכל להשתמש בהם. למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-04 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-04 (שעון UTC)."],[[["Updates a reply to a comment on a Google Drive file using patch semantics, allowing for partial modifications."],["Requires providing the file ID, comment ID, and reply ID as path parameters in the request URL."],["The request body should contain the updated reply data in JSON format, adhering to the Reply resource structure."],["Successful responses return the updated Reply resource, reflecting the changes made."],["Authorization requires specific OAuth scopes, potentially including security assessment for restricted ones."]]],["This document details how to update a reply using a PATCH request to the Google Drive API. The request URL specifies the `fileId`, `commentId`, and `replyId` as path parameters. The request body should contain the updated `Reply` object, and a successful response will return the modified `Reply`. This operation requires specific OAuth authorization scopes: `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file`.\n"]]