Bitbucket Download API to obtain the complete files with Metadata

XMLWordPrintable

      Summary:
      Using the the below API to download the files from Bitbucket Cloud we see that only the readable data or a portion of the file is downloaded and not the complete file.
      This is not convenient when users need to download large files using automated APIs.

      API: 

      /2.0/repositories/{workspace}/{repo_slug}/downloads/{filename}

       Note: This endpoint returns the actual file contents and not the artifact's metadata.

      Workaround:
      1. Use the Downloads section of the Repository to download the individual files 
      2. Use the below link to download all the files along with meta data

      Link: 

      https://bitbucket.org/<username>/<repo-name>/get/master.zip

       

            Assignee:
            Unassigned
            Reporter:
            Charan Mysore Suresh (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: