How can I get a list of all shared files on my google drive using one google drive sdk query? -


in ios app, when execute "queryforfileslist" q="" list of files , folders on google drive plus shared root folders, not files in shared root folders. if use chrome show shared folders , click on shared folder, files in shared folder shown correctly. if owner subsequently adds file folder sharing me, file appears in list of files obtained above query. so, list returned seems depend on "when" file shared rather "if" file shared. think bug need work around. chrome using work around. executing query using google's "try now" produces same result. i've tried using "children.list" no luck; sharedwithme folderid=root returns nothing. there alias shared root?

however, while composing question, think discovered work around. if use id of shared root folder (say 'xyz') , execute "queryforfileslist" q='xyz' in parents, files in folder id=xyz returned expected.

sharedwithme query not return files under shared folders, returns individually shared files , folders.

you can additionally query '<sharedfoldersid>' in parents list of files under shared folder.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -