Is there a way to access images that are uploaded to the body of a pull request via Bitbucket API? For example the images get converted to have a format like this: "https://bitbucket.org/repo/<repo>/images/<imageid>-image.png"
Accessing this kind of url seems to require session authentication. I am wondering if there is an API or way to access these images programmatically using an oauth token or access token?
Hi @Tyler Mann,
Welcome to the Atlassian Community!
Currently, I'm afraid that it is not possible to fetch images contained within a Pull Request comment through the Rest API. In this case, I've taken the liberty to raise a Feature Request with our development team in order to address this opportunity. You can check it through the following link:
https://jira.atlassian.com/browse/BCLOUD-22105
Our development team will give a first-hand update through that ticket if there's any progress made so I would suggest keeping a watch for it. Please note that all enhancements are implemented with this policy in mind.
Cheers,
Mateus T
Thanks for the update @Mateus T , I'll keep an eye on that ticket!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Following.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.