Direct uploads

Stream a Google Drive file's bytes to host file transport

Changed on

Streams 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 URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/direct-downloads/google-workspace/drive-files/{fileId}/content
  • Auth: HTTP bearer

Path parameters

fileIdstring required

Query parameters

formatstring

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.

connectionIdstring

Response

File bytes.

Changes