Direct uploads
Stream a Google Drive file's bytes to host file transport
Changed onStreams stored files as-is (Range: bytes=START-END, up to 8 MiB per request) or exports Google files whole in the requested format. Den does not keep or inspect the bytes. Responses stop at the pull size limit.
get/v1/direct-downloads/google-workspace/drive-files/{fileId}/content
Request
- Base URLhttps://api.openworklabs.com
- AuthHTTP bearer
Path parameters
fileId, string required
Query parameters
format, string
Google Docs, Sheets, Slides and Drawings only: export format, such as xlsx or csv for a Sheet, docx, md, txt or pdf for a Doc, pptx for Slides. Defaults to the Office format.
connectionId, string
Response
File bytes.
Changes
- info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
endpoint added
- info