Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Comment.
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.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-09-03 (UTC)."],[[["Creates a new comment on a specified file using an HTTP POST request."],["Requires providing the file ID as a path parameter and a `Comment` object in the request body."],["Returns the newly created `Comment` object in the response body if successful."],["Needs authorization with one of the specified OAuth scopes, some of which might require a security assessment."]]],["This document details the process for creating a new comment on a file using the Google Drive API. It involves sending a `POST` request to a specified URL, including the `fileId` as a path parameter. The request body must contain a `Comment` instance. A successful response will return the newly created `Comment`. Authorization requires one of the specified OAuth scopes: `docs`, `drive`, or `drive.file`. Access to some scopes might be restricted.\n"]]