I'm working in an organization say "xyz" which has its own bitbucket domain.
Bitbucket URL for organization is something like, https://bitbucket.xyz.com/
I want to perform some automation on my bitbucket account using Rest API 2.0.
But unlike the default url for 2.0 explained in the developers manual,
https://api.bitbucket.org/2.0/users/
I don't have the api url for my organization's account.
Need help to figure out the corresponding url required.
Hi Paras, welcome to the Community!
The URL you posted above refers to Bitbucket Cloud, not Bitbucket Server. For Bitbucket Server the URL should have the following structure:
http://host:port/context/rest/api-name/api-version/path/to/resource
You can refer to this documentation for more info.
If you don't know the URL for your organization's Bitbucket account, you'll need to contact one of your colleagues so they can give you this information. If you need anything else, let us know and we'll be happy to continue helping you.
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.