Hello,
I am trying to UPDATE an existing Confluence wiki page via REST and I am getting an error saying "nested branch in URL position 45". Error appears to be located in the "storage" data in the "body" section of the JSON . The JSON format appears correct, so I am not sure if my fields in JSO are incorrect or what the issue might be.
My command line looks like the following:
curl -u id:pw -X PUT -H 'Content-Type:application/json' -d '{"id":"39","type":"page", "title":"Test Page","space":{"key":"TS"},"body":{"storage":{"value":"<p>updated text</p>","representation":"storage"}},"version":{"number":2}}'
(The caret pointing to the error is positioned under the colon after "storage" in command in the json part of the command).
If any has any ideas that might help, it would be appreciated.
Thank you,
Jerry