Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to access downloads using bitbucket API

nickwest238 August 6, 2020

I have a personal repository that I've been working and I'm trying to upload a file to the downloads tab using the API. However, whenever I run the below command, I get a "resource not found" JSON response. My account has read,write, and admin privileges and I'm using an app password for authentication. Am I calling the API the incorrect way?

 

curl -X POST https://username:app_password@api.bitbucket.org/2.0/repositories/my_workspace/my_repo/downloads -F files=@filename

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events