Menu
Google Drive actions
Pick an action to see its parameters, request body and response fields.
28 actions
about · 1
comments · 5
POSTDrive.comments.create
/files/{fileId}/commentsCreates a comment on a file.DELETEDrive.comments.delete/files/{fileId}/comments/{commentId}Deletes a comment.GETDrive.comments.get/files/{fileId}/comments/{commentId}Gets a comment by ID.GETDrive.comments.list/files/{fileId}/commentsLists a file's comments.PATCHDrive.comments.update/files/{fileId}/comments/{commentId}Updates a comment with patch semantics.files · 12
POSTDrive.files.copy
/files/{fileId}/copyCreates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied.POSTDrive.files.create/filesCreates a file.DELETEDrive.files.delete/files/{fileId}Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.DELETEDrive.files.empty Trash/files/trashPermanently deletes all of the user's trashed files.GETDrive.files.export/files/{fileId}/exportExports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.GETDrive.files.generate Ids/files/generateIdsGenerates a set of file IDs which can be provided in create or copy requests.GETDrive.files.get/files/{fileId}Gets a file's metadata or content by ID.GETDrive.files.list/filesLists or searches files.GETDrive.files.list Labels/files/{fileId}/listLabelsLists the labels on a file.POSTDrive.files.modify Labels/files/{fileId}/modifyLabelsModifies the set of labels on a file.PATCHDrive.files.update/files/{fileId}Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics.POSTDrive.files.watch/files/{fileId}/watchSubscribes to changes to a file.permissions · 5
POSTDrive.permissions.create
/files/{fileId}/permissionsCreates a permission for a file or shared drive. For more information on creating permissions, see Share files, folders & drives.DELETEDrive.permissions.delete/files/{fileId}/permissions/{permissionId}Deletes a permission.GETDrive.permissions.get/files/{fileId}/permissions/{permissionId}Gets a permission by ID.GETDrive.permissions.list/files/{fileId}/permissionsLists a file's or shared drive's permissions.PATCHDrive.permissions.update/files/{fileId}/permissions/{permissionId}Updates a permission with patch semantics.replies · 5
POSTDrive.replies.create
/files/{fileId}/comments/{commentId}/repliesCreates a reply to a comment.DELETEDrive.replies.delete/files/{fileId}/comments/{commentId}/replies/{replyId}Deletes a reply.GETDrive.replies.get/files/{fileId}/comments/{commentId}/replies/{replyId}Gets a reply by ID.GETDrive.replies.list/files/{fileId}/comments/{commentId}/repliesLists a comment's replies.PATCHDrive.replies.update/files/{fileId}/comments/{commentId}/replies/{replyId}Updates a reply with patch semantics.