/v1.0/me/drive/search returns 文件字段的空对象

/v1.0/me/drive/search returns empty object for file field

当我根据文档在 file 字段中搜索 DriveItems with the /v1.0/me/drive/search endpoint, items which are Files (e.g a .pdf) should be returned with a file resource 时。此文件资源应包含字段 hashesmimeType.

但是,当我检索 DriveItem 肯定是文件的结果时,我只在 file 字段中收到一个空对象。我的查询中是否缺少某些内容或者这是一个错误。

我用来查询的确切 URL 是:

/v1.0/me/drive/root/search(q='test')?$select=webUrl,file,name,lastModifiedDateTime,createdBy,lastModifiedBy,createdDateTime,folder,image,id

目前我们 return 搜索结果没有哈希或 mimeType。但我至少更改了 return mimeType。哈希是一个更难的修复,需要一些工作。谢谢让我们注意到这个。我会跟踪这个问题,希望在不久的将来能解决它。