Direct uploads

Send one part of a host upload to OneDrive or SharePoint

Changed on

Send 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.

OR

Changes

    • breaking

      the response property // became nullable for the status

    • info

      response property oneOf[subschema #2]/file/size list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      endpoint added