搜索文件时出现Google Drive API调用问题 [英] Issue with Google Drive API Call when searching for a File

查看:117
本文介绍了搜索文件时出现Google Drive API调用问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您在名为HelloWorld的云端硬盘中创建了一个文件,然后进行以下API调用, https://www.googleapis.com/drive/v2/files?q=title+contains+ 'World'
文件不会出现在结果中。

If you create a file in your Drive named "HelloWorld" and you then make the following API Call, https://www.googleapis.com/drive/v2/files?q=title+contains+'World' the file does not come up in the results.


  1. 它可以正常工作吗?fullText +包含+'World'

  2. 包含+'HelloW'


推荐答案

这是预期的行为。 标题包含< substring>查询不受支持。 Google Drive前端的搜索功能也是如此。

This is the expected behavior. "title contains <substring>" queries are not supported. This is also true for the search functionality on the Google Drive front-end.

这篇关于搜索文件时出现Google Drive API调用问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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