Bitbucket Wiki Not allowing PUT requests via REST API Edited

I like the WIKI and think it's a great feature but it doesn't allow "PUT" requests to update pages. They always come back with "Please choose a new title, aleady exists."

Ideally I'm just trying to autogenerate markdown documentation and push it to the WIKI during the build in Pipelines. So whenever code is documented the Wiki gets updated continuously.

Here is my code snippet:

x=$(cat tst/MyWeb.Test/bin/Debug/netcoreapp1.1/ | curl -X PUT --user ${USERNAME}:${PASSWORD} --data-binary "path=/$x"

1 answer

Do you mean Bitbucket wiki? Confluence wiki API would be a different URL.

yes bitbucket wiki sorry I'm not sure how it posted to confluence

Trying following the exact format documented at without piping the data in and see if the issue reproduces

Same error doesn't help

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

436 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you