title: download directory from a branch using Gitlab API v4
body: <p>I am trying to download a directory inside of a 'release' branch of a repository from Gitlab. I am using API v4.</p>
  
  <p>The branch includes is of the below structure:</p>
  
  <pre><code>- archive
    - outputs
      - history-2020-01-01T142535 
      - history-2020-01-15T142559
      - history-2020-02-01T142540
  </code></pre>
  
  <p>I want to get the "history-2020-02-01T142540" directory.</p>
  
  <p>I can get a ZIP archive of the entire branch... </p>
  
  <pre><code>https://&lt;GITLAB_URL&gt;/api/v4/projects/&lt;PROJECT_ID&gt;/repository/archive.zip?sha=&lt;BRANCH_ID&gt;
  </code></pre>
  
  <p>How do I get a ZIP archive of only a specific folder within that branch?</p>