共享文件夹:找出通过API共享或更新文件的人员 [英] Shared folders: find out who shared or updated a file via API

查看:105
本文介绍了共享文件夹:找出通过API共享或更新文件的人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

API不会在共享文件夹中提供更新的演员。当我们在Skydrive上构建通知服务时,这很关键。

The API doesn't provide actors of updates in shared folders. As we build a notification service on top of Skydrive this is critical.

您是否计划在API响应中包含此类信息,或者我们是否遗漏了某些内容?

Do you have plans to include such information in the API response or did we miss something?

谢谢,

Martin

推荐答案

嗨Martin,文件的"来自" ; object可让您知道谁在共享文件夹中创建了文件。如果我使用其他帐户登录并将文件上传到共享文件夹,则该文件的"来自" value将指向该帐户:

Hi Martin, the file's "from" object lets you know who created a file in a shared folder. If I sign in with a different account and upload a file to a shared folder, that file's "from" value will point to that account:

http: //msdn.microsoft.com/en-us/library/live/hh243648.aspx#file

不幸的是,这似乎只适用于文件的原始创建者 - - 如果我使用其他帐户登录并用另一个同名文件覆盖该文件,则"updated_time"将更新。值变化但是"来自"值仍保留在上传原件的帐户

Unfortunately this only seems to apply to the original creator of the file -- if I sign in with a different account and overwrite the file with another file of the same name, the "updated_time" value changes but the "from" value remains set to the account that uploaded the original.


这篇关于共享文件夹:找出通过API共享或更新文件的人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆