HI ,
I am using katalon tool to automate the branch creation with the rest api.
can i anyone let me know the body to be used to create a new branch with parent branch
Below is the api which works for me to get response of all repositories
https://api.bitbucket.org/2.0/repositories/*****/****/refs/branches
but i am not able to create branch using same API for branch creation.
below is the body and content type i am using
URI:https://api.bitbucket.org/2.0/repositories/*****/****/refs/branches
basic Auth
Content type : "Applicaiton/json"
Body : {
"name" : "KatalonAPItests",
}
Hi Rajesh,
For questions like this one I recommend you to go to our Developer Community. There's a bigger pool of people with these skills and you'll be more likely to find a response :)
Hope that helps!
Ana
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.