When a artifact is created from the pipeline its possible through the web interface to download that artifact. However i can not find any way to do this through the public API. I noticed that the download button from the web actually calls the api.bitbucket.org/internal rather than the public API.
Any particular reason for this or would it be possible to add this feature to the public API as well?
Thanks for reply. But the downloads will not have artifacts created in the pipeline right? Just the ones i upload manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @vanneback , you should be able to use the public API endpoint documented here https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/downloads/%7Bfilename%7D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any updates on this subject @Alexander Zhukov . I can confirm that the dowloads API cannot access the pipelines artifacts
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.