Method: replies.update
בקשת HTTP
PUT https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
fileId |
string
מזהה הקובץ.
|
commentId |
string
מזהה התגובה.
|
replyId |
string
המזהה של התשובה.
|
גוף הבקשה
גוף הבקשה מכיל מופע של CommentReply
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של CommentReply
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/docs
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-03 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-03 (שעון UTC)."],[[["Updates an existing reply associated with a specific file, comment, and reply ID using a `PUT` request."],["Requires providing the `fileId`, `commentId`, and `replyId` as path parameters in the request URL."],["The request and response bodies utilize the `CommentReply` object for data transfer."],["Authorization necessitates using one of the specified OAuth scopes, some of which might require security assessments."]]],["This document outlines the process for updating a reply using a PUT HTTP request to the Google Drive API. The URL, `https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}`, requires three path parameters: `fileId`, `commentId`, and `replyId`. The request body must contain a `CommentReply` instance. A successful update returns a `CommentReply` instance in the response body. Authorization requires one of three OAuth scopes.\n"]]