v 2.1.6
The list of changes:
One Drive API:
-
introduced new resources such as
ContentType
,ColumnDefinition
-
support for Resumable file upload
SharePoint API:
support for chunk file upload, for example:
ctx = ClientContext(site_url, ctx_auth)
size_1Mb = 1000000
local_path = "./data/big_buck_bunny.mp4"
target_url = "/Shared Documents"
result_file = ctx.web.get_folder_by_server_relative_url(target_url)
.files.create_upload_session(local_path, size_1Mb, print_upload_progress)
ctx.execute_query()