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