Details
-
Suggestion
-
Resolution: Won't Fix
Description
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