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.
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.
api throwing an error - status code 500 ..msg- Something went wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
api throwing an error with status 500, msg- Something went wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.