Get all files from a repo's 'Downloads' section.

I'm considering storing previous release builds of my repos in their 'Downloads' sections. For example, I may have Version 1.0, 1.1, 1.2, 1.3, etc. for a repo stored in the 'Downloads' section in the form of a .zip. This wouldn't be the actual code, but the resulting build files. 

Would it be possible to then retrieve those versions via C# code? I would like to create a program to packages together the zip files for my various repos into a single .zip file. In order to do that, I would need to be able to retrieve all of the zip files for each repo. Is that possible? If so, how?

Also, is it possible to push a file to the 'Downloads' section instead of manually adding it?

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,986 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you