What will be the URL to access the API of a custom Bitbucket domain of any company? Edited

Hi Team,

I need to find the url for the custom bitbucket domain of my company. For example, to get the information of comments on a ceratin pull request from one's own bitbucket account, we can access as this from this url:

https://api.bitbucket.org/2.0/repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments

Let's say for ABC organization, the bitbucket domain is https://bitbucket.dev.ABC.com

In this case, how can I access its API to get the information of pull requests of a certain project under this domain.

Kindly revert.

Thanks & Regards.

2 answers

1 accepted

This widget could not be displayed.

Those are two completely separate products, and many places only use one of them. If your organization uses Bitbucket Server, then you will need to talk to somebody in the organization to find out what the hostname is- that information does not exist on Bitbucket Cloud.

Thank you James. I would contact some one in my organization for the same.

This widget could not be displayed.

I think you're confusing Bitbucket Cloud (hosted at bitbucket.org, no matter what the company) and Bitbucket Server (hosted at some other name, just not "*.bitbucket.org", "*.bitbucket.com", or "*.bitbucket.io"). They're different products, with similar but different APIs.

Hi James,

Thanks for your reply. Kindly look into the screenshots attached and provide your inputs. ownRepo.JPG

This above screenshot states my private account of bitbucket whose status code is 200 OK.

Please suggest the URL of API for the following screenshot which states my professional account. 

workRepo.JPG

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,614 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you