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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,000 views 1 5
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