I am using scr POST request to upload/overwrite a file on my Bitbucket repo. This request always executes on a master branch. I would like to specify the branch name in my request. Is that something Bitbucket REST API supports?
Hi Apurva, in the Cloud REST API documentation you'll find it's possible to add the name of the branch that the new commit should be created on. You'll find it in the Query parameters section when you scroll down the page.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could help you, Apurva :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.