Stream a OneDrive or SharePoint file's bytes to host file transport
Changed onStreams stored files as-is (Range: bytes=START-END, up to 8 MiB per request) or converts Office files to PDF whole. Den does not keep or inspect the bytes. Responses stop at the pull size limit.
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/direct-downloads/microsoft-365/drive-files/content
- Auth: HTTP bearer
Query parameters
The file's driveId from a search, folder or link result. Omit for the member's own OneDrive.
pdf converts a Word, Excel, PowerPoint or other Office file; omit to transfer the stored bytes.
Selected Microsoft 365 connection; omit for the default. Unavailable selections never fall back to another account.
Response
File bytes.
Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400 - info
response property
anyOf[subschema #2]/currentRevisionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response409 - info
response property
anyOf[subschema #2]/modifiedTimelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response409
- breaking
- info
endpoint added
- info