/v1/drive/filesBrowse the caller's Google Drive
One page of the files in the Google account THIS CALLER connected in Settings - id, name, mimeType, modifiedTime, sizeBytes, webViewLink, iconLink and owner, newest first, 200 to a page with a nextPageToken to continue. ?kind= narrows to sheet, excel, csv, pdf or folder (absent means every file and no folders) and ?q= filters on the NAME; Drive's own query language is never accepted. Reach for it to find the spreadsheet a person means before importing it, or to show what is importable. Answers 409 when the caller has connected no Google account - the fix is Settings, not a retry.
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Responses
the action's answer
{}a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}