Setting search parameters for javascript google drive api

前端 未结 1 1594
悲&欢浪女
悲&欢浪女 2021-01-22 00:10

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 javasc

相关标签:
1条回答
  • 2021-01-22 00:17

    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'
     });
    
    0 讨论(0)
提交回复
热议问题