<\/script>')

Drive API children.list q parameter broken

The query line in the "Try" section does not work 12 hours ago. My query string is mimeType = 'application / vnd.google-apps.folder' In any case, do not work with any query. https://developers.google.com/drive/v2/reference/children/list Please tell me, please.

+6
source share
1 answer

I have the same problem:

child.Q = "mimeType = 'application/vnd.google-apps.folder' and title contains 'SomeDocuments'" Dim cl As ChildList = child.Fetch 

it returns all documents, for example, there was no filter

Perhaps something has changed in the Google Drive API?

Update I can’t find anything from Google, I wrote a review on the list of child items. The only workaround so far is to use the children.list method using the file.list method and in the q section add to the parent folder - 'folderid' - a search query to emulate the search on the child parents of the parent folder. The downside is that it will only search for a document that has a folder as a parent, and not subfolders such as the children.list method.

Update 2 Looks like Google fixed it! Happy coding.

+3
source

Source: https://habr.com/ru/post/951348/


All Articles