Download tar / zip with oauth api token
I have a project that requires allowing members of an organisation to download the contents of a private repository via a script, I was hoping I would be able to use bitbucket and access the download links with oauth credentials, but this does not appear to be possible currently.
I would like to use my oauth credentials to access the following uri's on private repositories.
github currently supports this feature and their API docs for it can be found here, but as a mercurial user thats not really an option for me:
they appear to have an endpoint that generates short lived token with access to the download.