Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×Hello
I am trying to provide support for bitbucket datacenter CRUD operations in my application.
I am not able to find the REST APIs for operations like clone, push and pull on the API documentation.
I can see support for 'Bitbucket cloud' using source object. so, wanted to ask if similar functionality is available on 'Bitbucket datacenter'?
Your assistance would be much valued!
Hi @Varun Joshi
Welcome to Atlassian Community.
Please check the below url, if it serves your requirement.
The Bitbucket Data Center REST API (atlassian.com)
Vikram P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I concur with @vikram - there are already a lot of git operations like creating branches etc in the pull request REST API and in the repository REST API.
In order to perform core git commands like push, pull, checkout etc your app needs to do that locally with a git client.
If you need to perform custom git commands on the server you can create a Bitbucket server plugin/app where you can run git commands on the server via the Java API.
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.