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",
}