I am trying to create a web UI for navigating my Google Drive for the user and to refer to a Or more documents, I am currently making a web interface using PHP, in a website with a DB.
The problem I am facing is that I can not do a single task to get the list of files through Folder ID.
I tried:
$ service-> children-> children's children ($ rootfolder id) one ?? | But this will only give the file reference ID file in the folder (the so-called children's resource items), which means that I have to loop through those files and call for each of them to get all the metadata required for all of my YouTube Have to make.
Unfortunately ..
$ service-> file-> List () .. My folder will not list my files with any filtering options.
I would like to know that Drive with a single call is an effective way to remove the folder file list on the server
Thank you very much for your help < P>
It is possible to use the drive. Files.list Endpoint A list of files related to a specific folder.
To do this, you ? Q can use = as the query parameter: get https://www.googleapis.com/drive/v2/files?q="'< ; FOLDER_ID & gt; In PHP, which $ service-> file- & gt; list (array ('q' = & gt; in "parent" '& lt; FOLDER_ID' in 'Parent'));
Comments
Post a Comment