Hello,
I would like to create a commit using the rest api. However I could not find any documentation that would detail the specific endpoint or provide examples on how to achieve this.
I found that Bitbucket Cloud supports this:
The Bitbucket Cloud REST API (atlassian.com)
Is there an equivalent for Bitbucket datacenter?
Hi,
commit
is a git command that allows you to save a snapshot of the project’s currently staged changes.
You can use rest APIs to Get commits or Get Pull-request commits for a repository.
The cloud rest endpoint is primarily for uploading a file and then it commits the changes, which is currently not supported by Bitbucket DC
Hope this helps
Thanks