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, myMarkdownFile.md 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/myController.md) | curl -X PUT --user ${USERNAME}:${PASSWORD} https://api.bitbucket.org/1.0/repositories/myUserName/myProject/wiki/myController --data-binary "path=/Project.wiki&data=$x"
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 https://confluence.atlassian.com/bitbucket/wiki-resources-296095206.html without piping the data in and see if the issue reproduces
Same error doesn't help
It looks like you're new here. Sign in or register to get started.