Skip to content Skip to sidebar Skip to footer

Setting Search Parameters For Javascript Google Drive Api

Apologies if this question already exists, i have searched for two days now. I am trying to list all files from google drive root folder which have not been trashed using javascrip

Solution 1:

I had a similar problem, solved by putting the q parameter into the initial request as well:

var initialRequest = gapi.client.drive.children.list({  
'folderId' : folderId, 
'q' : 'trashed = false'
 });

Post a Comment for "Setting Search Parameters For Javascript Google Drive Api"