I want to the update the confluence page table, by using
curl -X PUT -H application/json -d '{ "type":"page"
"title":"My Page"
"body":{
"storage":{
"value":"<table> my table content </table>",
the put cmd replaces the entire page content instead of updating the values in the page.
For ex- If I pass another curl -X PUT -H application/json -d '{ }' with same page id and different values or parameters the table get replaced with the new value.
Kindly suggest
I think partially updating a page may not be possible. However you can get the current content using Get content (https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-get) and submit the entire page with the modified "table" content via Update content (https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-put)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Saquib Fraz , how did you solve this? I have a similar requirement and trying to figure out how to get the current content and change it accordingly to be updated.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.