Microsoft Graph
一种 Microsoft 可编程性模型,用于公开 REST API 和客户端库以访问 Microsoft 365 服务上的数据。
74 个问题
您好,
我们请求one drive 接口得时候,发现一个问题。
/v1.0/drives/{drive-id}/items/{item-id}
/v1.0/drives/{driveId}/root/children
我们一直在获取某个文件
但是我们用item id 去访问文件的时候,有时会返回空值。
是不是因为10分钟请求一次的频率有问题,文件其实没有变动,但是获取不到了。
谢谢
Hi @Jetour Zhang
Prefer: no-cache
头部,强制获取最新数据。GET /me/drive/items/{item-id}
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.