Create a five-minute download link for one OneDrive or SharePoint file, for clients with a shell
Changed onFor clients without OpenWork host file transport but with a shell, such as a Workbot computer or a coding agent. Download with curl into a file instead of reading the file into context; format pdf converts Office files. To save edits back, prepare createMicrosoft365DriveUploadSession with itemId and this revision as baseRevision. Uses the selected connection.
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/capabilities/microsoft-365/drive-download-links
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Response
Short-lived bearer download URL, as JSON and as an MCP resource link, with the file's revision; no file content.
Changes
- 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 - info
the
response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- breaking
- info
endpoint added
- info