Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to use API 2.0 but don't have the base url for my company's account

Paras Vishnoi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2018

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.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events