LowCodeAPI
  • Files(12)
    • POST
      Creates a copy of a file and applies any requested updates with patch semantics.
    • POST
      Creates a file.
    • GET
      Lists or searches files.
    • DEL
      Permanently deletes a file owned by the user without moving it to the trash.
    • GET
      Gets a file's metadata or content by ID.
    • PATCH
      Updates a file's metadata and/or content.
    • DEL
      Permanently deletes all trashed files of a user or shared drive.
    • GET
      Exports a Google Workspace document to the requested MIME type and returns exported byte content.
    • GET
      Generates a set of file IDs which can be provided in create or copy requests.
    • GET
      Lists the labels on a file.
    • POST
      Modifies the set of labels on a file.
    • POST
      Subscribe to changes on a file.
POST
POST
GET
DELETE
GET
PATCH
DELETE
GET
GET
GET
POST
POST
POST
https://api.lowcodeapi.com/googledrive/drive/v3/files/file_id/copy
Path Parameters 1
file_id*string

The path parameters will be sent as a URL query parameters as a part of the request.

Query Parameters 6
ignoreDefaultVisibility boolean
TRUE
FALSE
keepRevisionForever boolean
TRUE
FALSE
ocrLanguagestring
supportsAllDrives boolean
TRUE
FALSE
includePermissionsForViewstring
includeLabelsstring

The query parameters will be sent as a URL query parameters as a part of the request.

Request Payload

The payload will be sent as a application/json as a part of the request body.

Path Parameters
file_id*string
The ID of the file
Query Parameters
ignoreDefaultVisibilityboolean
Whether to ignore the domain's default visibility settings for the created file
keepRevisionForeverboolean
Whether to set the 'keepForever' field in the new head revision
ocrLanguagestring
A language hint for OCR processing during image import (ISO 639-1 code)
supportsAllDrivesboolean
Whether the requesting application supports both My Drives and shared drives
includePermissionsForViewstring
Specifies which additional view's permissions to include in the response
includeLabelsstring
A comma-separated list of IDs of labels to include in the labelInfo part of the response
Payload
copyRequiresWriterPermissionboolean
Whether the options to copy, print, or download this file, should be disabled for readers and commenters.
contentHintsobject
Additional information about the content of the file. These fields are never populated in responses.
writersCanShareboolean
Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives.
mimeTypestring
The MIME type of the file. Google Drive attempts to automatically detect an appropriate value from uploaded content, if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content is imported, if possible. The supported import formats are published in the About resource.
parentsarray
The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. files.update requests must use the addParents and removeParents parameters to modify the parents list.
folderColorRgbstring
The color for a folder or a shortcut to a folder as an RGB hex string. The supported colors are published in the folderColorPalette field of the About resource. If an unsupported color is specified, the closest color in the palette is used instead.
idstring
The ID of the file.
namestring
The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the name is constant.
descriptionstring
A short description of the file.
starredboolean
Whether the user has starred the file.
trashedboolean
Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file, and other users cannot see files in the owner's trash.
createdTimestring
The time at which the file was created (RFC 3339 date-time).
modifiedTimestring
The last time the file was modified by anyone (RFC 3339 date-time). Note that setting modifiedTime also updates modifiedByMeTime for the user.
viewedByMeTimestring
The last time the file was viewed by the user (RFC 3339 date-time).
originalFilenamestring
The original filename of the uploaded content if available, or else the original value of the name field. This is only available for files with binary content in Google Drive.
propertiesobject
A collection of arbitrary key-value pairs which are visible to all apps. Entries with null values are cleared in update and copy requests. An object containing a list of 'key': value pairs. Example: { 'name': 'wrench', 'mass': '1.3kg', 'count': '3' }.
appPropertiesobject
A collection of arbitrary key-value pairs which are private to the requesting app. Entries with null values are cleared in update and copy requests. These properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with an OAuth 2 client ID. You cannot use an API key to retrieve private properties. An object containing a list of 'key': value pairs. Example: { 'name': 'wrench', 'mass': '1.3kg', 'count': '3' }.
contentRestrictionsarray
Restrictions for accessing the content of the file. Only populated if such a restriction exists.
Response
API response data will be shown here once the request is completed.
Google Drive