Describe a OneDrive or SharePoint file pull for host file transport
Changed onReturns the file's drive, eTag revision and the exact format and size a pull would save, without downloading content. Hosts then fetch the content route in ranged chunks. Optional connectionId selects a Microsoft 365 connection; unavailable selections never fall back to the default.
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/direct-downloads/microsoft-365/drive-files
- Auth: HTTP bearer
Query parameters
The file's driveId from a search, folder or link result. Omit for the member's own OneDrive.
A OneDrive, SharePoint or Teams file link instead of driveId and itemId.
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
Pull plan; no file content.
Changes
- breaking
for the
queryrequest parameterurl, the format changed fromuritostarts_with - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - 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 - info
response property
download/extensionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
file/modifiedTimelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
file/revisionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
file/webUrllist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info