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
  • Auth
    HTTP 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