2016-06-21 262 views

回答

4

如果您按照here的说明操作,您可以生成一个URL来处理共享项目,包括能够获取其内容。

在你的情况下,网址看起来可能就像https://api.onedrive.com/v1.0/shares/u!aHR0cHM6Ly8xZHJ2Lm1zL3cvcyFBcW1GaUk3bWFYclJnVDdQR2NLXzdKeVpsQmNv/root/content

+0

对不起,你是怎么得到这个链接是什么呢?该链接使用sharingUrl =“https://onedrive.live.com/redir?resid=1231244193912!12&authKey=1201919!12921!1”。这与我的https://1drv.ms/w/s!AqmFiI7maXrRgT7PGcK_7JyZlBco – user3835653

+0

的链接不同,上面的URL中的“u!asfdjlasdkfjsa”部分实际上是您的URL的Base64编码版本。看看我引用的说明,它应该解释过程。 – Brad

+0

http://rextester.com/QNSY6325这将有助于建立这样的网址(根据https://github.com/OneDrive/onedrive-api-docs/blob/master/shares/shares.md) – CAMOBAP