Google Drive API

Get your drive files information as JSON format with simple API endpoints without coding.

List files

Make GET request on this endpoint to list files with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/listFiles

- Request Parameters:

ObjectDescription
driveId[Optional] ID of the shared drive to search.
fields[Optional] The paths of the fields you want included in the response..
includeItemsFromAllDrives[Optional] Whether both My Drive and shared drive items should be included in results. (Default: false).
includePermissionsForView[Optional] Specifies which additional view's permissions to include in the response. Only 'published' is supported.
orderBy[Optional] A comma-separated list of sort keys. Valid keys are createdTime, folder, modifiedByMeTime, modifiedTime, name, name_natural, quotaBytesUsed, recenct, sharedWithMeTime, starred, viewedByMeTime. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime desc,name.
pageSize[Optional] The maximum number of files to return per page. Acceptable values are 1 to 1000, inclusive. (Default: 100)
pageToken[Optional] The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.
q[Optional] A query for filtering the file results. See for all queries exaples https://developers.google.com/drive/api/v3/search-files
spaces[Optional] A comma-separated list of spaces to query within the corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
supportsAllDrives[Optional] Whether the requesting application supports both My Drives and shared drives. (Default: false)

Single file

Make GET request on this endpoint to single file with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/getFile

- Request Parameters:

ObjectDescription
fileId[Required] The ID of the file.
fields[Optional] The paths of the fields you want included in the response. For development you can use the special value * to return all fields, but you'll achieve greater performance by only selecting the fields you need.
includePermissionsForView[Optional] Specifies which additional view's permissions to include in the response. Only 'published' is supported.
supportsAllDrives[Optional] Whether the requesting application supports both My Drives and shared drives. (Default: false)

Upload file

Make POST request on this endpoint to upload file with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/uploadFile

- Request Parameters:

ObjectDescription
file[Required] file to upload
ignoreDefaultVisibility[Optional] Whether to ignore the domain's default visibility settings for the created file.
includePermissionsForView[Optional] Specifies which additional view's permissions to include in the response. Only 'published' is supported.
keepRevisionForever[Optional] Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions. (Default: false)
ocrLanguage[Optional] A language hint for OCR processing during image import (ISO 639-1 code).
supportsAllDrives[Optional] Whether the requesting application supports both My Drives and shared drives. (Default: false)
useContentAsIndexableText[Optional] Whether to use the uploaded content as indexable text. (Default: false)

Upload Remote file

Make POST request on this endpoint to upload remote file with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/uploadRemoteFile

- Request Parameters:

ObjectDescription
remote_url[Required] remote url of your file to upload
ignoreDefaultVisibility[Optional] Whether to ignore the domain's default visibility settings for the created file.
includePermissionsForView[Optional] Specifies which additional view's permissions to include in the response. Only 'published' is supported.
keepRevisionForever[Optional] Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions. (Default: false)
ocrLanguage[Optional] A language hint for OCR processing during image import (ISO 639-1 code).
supportsAllDrives[Optional] Whether the requesting application supports both My Drives and shared drives. (Default: false)
useContentAsIndexableText[Optional] Whether to use the uploaded content as indexable text. (Default: false)

Delete File

Make DELETE request on this endpoint to delete file with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/deleteFile

- Request Parameters:

ObjectDescription
fileId[Required] The ID of the file.
supportsAllDrives[Optional] Whether the requesting application supports both My Drives and shared drives. (Default: false)

Download file

Make GET request on this endpoint to download file with required parameters(if any required).

https://v1.nocodeapi.com/<username>/drive/<token>/downloadFile

- Request Parameters:

ObjectDescription
fileId[Required] The ID of the file.
localFolderLocation[Optional] your local folder location. default is temp folder in your OS
NoCodeAPI 3.0 - The easiest way to connect with APIs without code. | Product Hunt