title: GitHub API: Fetch all folders and Files in Single GET Request
body: <p>In the GitHub API, I can issue a GET request of</p>
  
  <p><code>https://api.github.com/repos/owner/repo/git/trees/master?recursive=1</code></p>
  
  <p>to recursively fetch all of the trees of a repository. In addition to giving me all of the directories, it gives me URLs that I can use to download individual files:</p>
  
  <pre><code>[...]
  {
      "mode": "100644",
      "type": "blob",
      "sha": "abc1234",
      "path": "path/to/file.txt",
      "size": 104361,
      "url": "https://api.github.com/repos/owner/repo/git/blobs/abc1234"
  },
  [...]
  </code></pre>
  
  <p>While the <code>recursive=1</code> piece prevents me from having to make a new GET request for every directory in the repository, I still have to make an individual call for every file. I've looked through the <a href="http://developer.github.com/v3/" rel="noreferrer">GitHub API Docs</a>, but they don't present a way to do this. It's very likely that there simply isn't a way to fetch all files and folders in a single request, but I wanted to ask here to verify that I have no other option.</p>