The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Can we use bitbucket's browser API (internal api) into our custom code

mohan yadav
Contributor
May 21, 2024

Hi,

I am using bitbucket rest API but there are some functionality which does not exist in rest API 2.0. So for example I want to know if there will be any conflicts before creating PR.
But on bitbucket UI we can see while/before creating PR for any conflicts.

 

So can I use "https://bitbucket.org/!api/internal/repositories/.............." as below

 

Capture.PNG

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2024

Hello @mohan yadav ,

I've recently responded to your previous post with a suggestion to use the Compare two commits diffstat endpoint to get the conflict status of the files comparing two branches.

Although it's possible to execute manual requests to internal API endpoints, we do not recommend relying on them. Unlike the public endpoints, they may change at any time without prior notice.

Thank you, @mohan yadav !

Patrik S 

 

TAGS
AUG Leaders

Atlassian Community Events