Issue with Google Drive API Call when searching fo

2019-02-25 08:19发布

问题:

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. It works properly on ?fullText+contains+'World'
  2. It also works on ?title+contains+'HelloW'

回答1:

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.