Method: replies.update
Aktualisiert eine Antwort mit Patchsemantik.
HTTP-Anfrage
PATCH https://www.googleapis.com/drive/v3/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 Reply
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Reply
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
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-04 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]