Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API - Bitbucket Data Center - Commit multiple files in a single request.

Ridderstolpe Ludwig
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2025

In the REST Api docs for Bitbucket Data Center we have the endpoint:

https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-browse-path-put

this allows us to edit a file out in Bitbucket. The request requires us to specify the path of the file that is to be modified/created as a path-parameter. And the content of the file in the request body. 

The example in the docs works for single file commits. However, it is not clear how to commit multiple files using this endpoint because the path of the file is passed a path-parameter.  

Does anyone know how to commit multiple files using the REST Api for Bitbucket Data Center? Is it even possible? It is clearly possible for Bitbucket Cloud (https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-post).

This question has been asked in:

but have not been answered yet.  

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events