Google Docs
Find Google Docs Documents
Find Google Docs by name, drive, or folder.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| namestring · optional | string | optional | Find documents whose name contains this text. Leave blank for all documents. |
| driveIdstring · optional | string | optional | Which drive to search. Leave blank for My Drive. |
| folderIdstring · optional | string | optional | Only look inside this folder. Leave blank to search the whole drive. |
| limitnumber · optional | number | optional | Max documents to return (1-1000, default 50). Default: |
| orderBystring · optional | string | optional | e.g. modifiedTime desc, name. Default: most recently modified first. |
Response schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"description": "Matching documents"
},
"totalFound": {
"type": "number",
"description": "How many came back"
},
"nextPageToken": {
"type": "string",
"description": "Pass back as Page token to read the next page"
},
"incompleteSearch": {
"type": "boolean",
"description": "True when Drive could not search every location"
}
}
}