Method: replies.update
Aktualizuje istniejącą odpowiedź.
Żądanie HTTP
PUT https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
fileId |
string
Identyfikator pliku.
|
commentId |
string
Identyfikator komentarza.
|
replyId |
string
Identyfikator odpowiedzi.
|
Treść żądania
Treść żądania zawiera wystąpienie elementu CommentReply
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu CommentReply
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Niektóre zakresy są objęte ograniczeniami, a aplikacja może z nich korzystać dopiero po sprawdzeniu zabezpieczeń. Więcej informacji znajdziesz w przewodniku po autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-03 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]