Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

PUT without overwrite in v2 API

Francesco Sbrighi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2024

Hi,

I'm using Confluence API v2. I successfully execute a curl put. It runs, and the value gets updated. However, the entire page gets overwritten. Is there a way to perform an append without having to first retrieve the content of the page, append my string to it, and then execute the curl put?

Thank you,

Francesco

PS: I noticed that there are other posts requesting the same thing, but I took the liberty to repost as those posts I found are even up to 5 years old or more. I was wondering if anything has changed in the meantime.

1 answer

0 votes
Gabriel Rodrigues January 10, 2024

Hi @Francesco Sbrighi,

In your scenario, it seems you need to retrieve the existing page content, append the new content to it, and then proceed with the HTTP request to update the content. I just read the documentation, and unfortunately, I think that there is no direct REST API method or parameter to append content without overwriting it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events