Hi there,
I am trying to develop a Python script, using this example: https://developer.atlassian.com/server/bitbucket/rest/v806/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-browse-path-put, that would edit an existing file in a Bitbucket repo.
I have managed to successfully create a new branch off of the latest commit in the develop branch of the repo, as well as successfully fetch the file's contents and latest commit hash. However, I am completely stuck on the actual file editing step.
This is my code so far:
headers =
modified_content = "" # I'm using an empty string for testing purposes