Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find Bitbucket Account UUID?

Since bitbucket no longer supported the use of username. We must instead use User uuid for accessing the bitbucket api's.

Depreciated or Earlier

https://api.bitbucket.com/2.0/users/udayRatan

Latest

https://api.bitbucket.com/2.0/users/558050:c0b72ad0-1cb5-4018-9cdc-0cde8492c443

like image 369
Ratan Uday Kumar Avatar asked Dec 31 '18 05:12

Ratan Uday Kumar


People also ask

How do I find my Bitbucket UUID?

You can retrieve a list of all users that have access to a certain workspace (that you are an admin of) and the UUID for each one using this endpoint: https://developer.atlassian.com/bitbucket/api/2/reference/resource/workspaces/%7Bworkspace%7D/members.

How do I check my Bitbucket account?

To access your Personal settings in Bitbucket Cloud, click your profile avatar and select Personal settings from the profile menu. Click the Atlassian account link under your name to open the settings for your Atlassian account.

How do I share my Bitbucket profile?

Visit your repository on the Bitbucket website. On the “Overview” page, on the right side, click “Invite users to this repo”. If your friend register in step 1, enter his user name, otherwise just enter the email and he will get a mail with a link to register.

How do I find my remote name in Bitbucket?

Remote link can be found on top right side of the Source screen in your repository(https://bitbucket.org/<teamName_or_username>/<repo-name>/src). If you are using latest version of bitbucket cloud, there should be Clone button on right top.


3 Answers

You can make a GET request for a repository that you own and see your UUID listed under the owner attribute:

curl https://api.bitbucket.org/2.0/repositories/1team/moxie

Or you could possibly make a GET request for all team members of a team you're a part of and see their UUID's there

curl https://api.bitbucket.org/2.0/teams/1team/members

Info taken from https://developer.atlassian.com/bitbucket/api/2/reference/meta/uri-uuid#repo-obj

like image 195
ForgetfulFellow Avatar answered Nov 01 '22 10:11

ForgetfulFellow


  1. Inspect your https://bitbucket.org/account/settings/
  2. Search "uuid" in your browser inspector element
  3. Enjoy your personal information (including uuid)
like image 27
Toàn Nguyễn Hải Avatar answered Nov 01 '22 10:11

Toàn Nguyễn Hải


I can't believe it could be this hard to get my own UUID. The way i fixed it was to create a public repo and then run this curl command

curl https://api.bitbucket.org/2.0/repositories/<bitbucketusername>/testrepo

the ouput contained my UUID. I then obviously deleted the unsafe public repo.

like image 36
SamK Avatar answered Nov 01 '22 11:11

SamK