title: Getting a list of files from several folders in one request using Google Drive REST API
body: <p>I'm trying to get metadata for all files in a particular publicly shared Google Drive folder using the v3/drive.files.list API. My current approach is to first get a list of everything in root,</p>
  
  <pre><code>q='some-id' in parents
  </code></pre>
  
  <p>and then repeat similar queries for all the subdirectiories found. What I'd like to do instead of requesting data for each subdirectory individually is to combine queries like so:</p>
  
  <pre><code>q='some-subdir-id-1' in parents or 'some-dubdir-id-2' in parents
  </code></pre>
  
  <p>(edited: originally posted query with <code>and</code> by mistake)</p>
  
  <p>However, in APIs explorer this (sometimes) returns only files in one of directories, and in .NET binding it simply returns an empty list with no exceptions being thrown. So, is there a way to have multiple <code>'something' in parents</code> parameters in a single query?</p>
  
  <p><a href="https://developers.google.com/apis-explorer/#p/drive/v3/drive.files.list?pageSize=10&amp;q=&#39;1veu5IIIo64Hp0tMGnvckvs0w3f3vKOo4&#39;+in+parents+or+&#39;1V8VB5iAQWxxjaVC1UJoz6QNDsFTcEpR0&#39;+in+parents&amp;spaces=drive&amp;_h=17&amp;" rel="nofollow noreferrer">Test case.</a></p>