Closed odaiderawi closed 1 month ago
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));
It's wrong, I write it fine, read the docs
using files.list with the query string 'q'='sharedWithMe' because it only lists the children’s of Shared With Me