In the Google Drive SDK documentation, I can't figure out how to access the root list of files/folders shared with me by others, any idea?
I tried to search for files not owned by me, meaning query files/list with the following parameter:
"q=not 'me' in owners"
But that returns all the files owned by others, not only the "root list" of those files.
Thanks for your help.
Apparently, there is a new search parameter, called sharedWithMe
. Setting the Q to "sharedWithMe" is enough to receive the parent folders and files that were shared with the user. It can be combined with other parameters too - for example "sharedWithMe and trashed=false".
You have probably already found about it, but it might be useful to have an answer of this question.
Something more like:
"q=not 'me' in owners and 'root' in parents"