How to list files from shared with me ?
odaiderawi opened this issue · 3 comments
odaiderawi commented
How to list files from shared with me ?
PaolaRuby commented
using files.list with the query string 'q'='sharedWithMe' because it only lists the children’s of Shared With Me
w99910 commented
I tried as you mentioned but it didn't work as expected. The shared-files are not listed in returned collection.
$adapter = new GoogleDriveAdapter($service, 'root',['defaultParams' => ['files.list'=>['q'=>'sharedWithMe']],]);
$filesystem = new \League\Flysystem\Filesystem($adapter);
$filesystem->listContents('/', false));
PaolaRuby commented
It's wrong, I write it fine, read the docs