-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Repository - Security Tab
-
None
-
3
Currently, a repository archive can be downloaded using the endpoint :
https://bitbucket.org/<workspace slug>/<repo slug>/get/<commit hash or branch name>.zip
However, it's currently only possible to use an API Token or an OAuth access token for authentication.
When trying to use Repository Access Tokens (RATs) to authenticate :
curl --request GET --url 'https://bitbucket.org/<workspace>/<repository>/get/master.zip' --header 'Authorization: Bearer <Repository Access token>'
The following error is returned :
{"type": "error", "error": {"message": "Token is invalid or not supported for this endpoint."}}
This feature request is to implement the ability to download repository archives using RATs.
- is related to
-
BCLOUD-22436 Download repository archives with repository access tokens
- Gathering Interest