Method: replies.update
Aktualisiert eine vorhandene Antwort.
HTTP-Anfrage
PUT https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
fileId |
string
Die ID der Datei.
|
commentId |
string
Die ID des Kommentars.
|
replyId |
string
Die ID der Antwort.
|
Anfragetext
Der Anfragetext enthält eine Instanz von CommentReply
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von CommentReply
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Einige Bereiche sind eingeschränkt und erfordern eine Sicherheitsprüfung, damit Ihre App sie verwenden kann. Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-03 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]