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.
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.