onedrivecmd icon indicating copy to clipboard operation
onedrivecmd copied to clipboard

可以按目录分享吗?

Open huanshifeichen opened this issue 5 years ago • 2 comments

昨晚上我试了下只能按文件分享,按文件分享会报 ChildrenCollectionPage(不记得是不是这个类名了) 没有id, 我看了下代码分享是 permission = client.item(id = item.id).create_link("view").post(), 只支持用文件, 对应 onedrive python sdk,也没找到有目录分享的的接口,不知道能不能实现

huanshifeichen avatar Mar 19 '19 02:03 huanshifeichen

API 似乎有这个功能 (文档), 不知道是否能满足你的需求.

分享功能目前并不在我的 TO-DO list 里面, 也许近期不会考虑...

DictXiong avatar Mar 19 '19 05:03 DictXiong

哦,还有 rest 的 api 啊,昨天只是大概看了下对应的 python sdk的 examples. 目录分享需求不是很强烈,以后有空了解下这些 api

huanshifeichen avatar Mar 19 '19 05:03 huanshifeichen