Direct uploads
Send one part of a host upload to OneDrive or SharePoint
Changed onSend the file in order with Content-Range: bytes START-END/TOTAL, in parts of chunkSize bytes; non-final parts must be multiples of 320 KiB. Den forwards each part to Microsoft without keeping it.
put/v1/direct-uploads/microsoft-365/drive-upload-sessions/content
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/direct-uploads/microsoft-365/drive-upload-sessions/content
- Auth: HTTP bearer
Query parameters
tokenstring required
Request body application/octet-stream
string binary required
Response
Progress or the saved file.
Changes
- breaking
the response property
//became nullable for the status - info
response property
oneOf[subschema #2]/file/sizelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info