We use this endpoint to get user information.
Sample request and response:
https://api.bitbucket.org/2.0/users/%7Bac2fb406-8b85-4edd-8c37-26ad73664b74%7D
{
"display_name": "Alexander Okulovich [Stiltsoft]",
"links": {
"html": {
"href": "https://bitbucket.org/%7Bac2fb406-8b85-4edd-8c37-26ad73664b74%7D/"
},
...
},
...
}
I’m curious about the purpose of the links.html.href
field. Is it the user profile link? Is there such a page in Bitbucket Cloud?
If I visit this link myself, a redirect to my personal workspace happens. If I visit the link for another user, the “Resource not found” page appears.