I've being trying a lot of endpoint, and check the links.avatar.href on them
all of them return the default initial avatar image and not the updated atlassian image.
I have found that the site is using
to get the right avatar image, but Im doing it for bitbucket integration and my users only have a bitbucket authentication.
btw, this is just one blocker of many more I have on bitbucket api. (cannot get a user by mail or email, cannot get user account id from any request to get a user, cannot authenticate with bearer that used to worked, cloning repo sometime not include the previous push and take time to get update it), being succes to have a workaround for for every one of them but this one is a main blocker for me and my company
Hey @Kim Aharfi
Welcome to the community.
By default, the endpoint follows the user Atlassian account configuration. If the user allows their profile to be public, then the avatar will be exposed in the API endpoint.
It's under Profile and visibility. You can configure who can see your profile picture (avatar). If it's configured public (anyone), it will return the user avatar in the Bitbucket API endpoint.
I hope this helps, and feel free to create new community questions for any of the blockers you have. We'd be happy to help.
Hey @Kim Aharfi
I'm glad to hear that help!
I believe the following API endpoint should get the user name and UUID:
However, we currently do not expose user email addresses in our API endpoint, so I believe you can only get the user name and UUID at this moment.