驱动API children.list q参数已损坏

Rem*_*ona 6 google-drive-api

尝试部分中的查询字符串在12小时前不起作用.我的查询字符串是mimeType ='application/vnd.google-apps.folder' 无论如何不能使用任何查询. https://developers.google.com/drive/v2/reference/children/list 请告诉我为什么?

Jes*_*lon 3

我有同样的问题:

child.Q = "mimeType = 'application/vnd.google-apps.folder' and title contains 'SomeDocuments'"
Dim cl As ChildList = child.Fetch
Run Code Online (Sandbox Code Playgroud)

它返回所有文档,就像没有过滤器一样

也许 Google Drive API 发生了一些变化?

更新 我在谷歌上找不到任何东西,我在子列表页面写了一个反馈。到目前为止,唯一的解决方法是不使用 Children.list,而是使用 file.list 方法,并在 q 部分中添加“parents - 'folderid'”搜索项来模拟对父文件夹的子文件夹的搜索。缺点是它只会搜索以folderid为父级的文档,而不是像children.list方法那样搜索子文件夹。

更新 2 看起来 Google 已经修复了它!快乐编码。