Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

issue in retrieving contents from confluence page using REST API.

Mohanasurya
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!
February 14, 2024

I created a confluence page with contents and diagrams, and I delete only the diagram present in that page, and now when we retrieve same page details using endpoint - "https://{user}.atlassian.net/wiki/rest/api/space/{space_key}/content", still the deleted diagram is retrieved along with the contents in endpoint response, why is this happening ?  

Does it takes time to reflect the deleted changes in REST API. if yes, how much time does it take ?

2 answers

0 votes
Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2024

@Mohanasurya Welcome to the Atlassian Community!

When you deleted the diagram, did you also delete the file attached to the page? If not, you might try doing that to see if it makes a difference.

With the page in View mode, select the ellipsis button at the top right of page (next to Share button), then select Attachments > Files to see all files attached to the page. There should be a Delete link for each attachment file. 

 

0 votes
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2024

Hi @Mohanasurya ,

Changes to page content are reflected in the REST API immediately.

Suggest an answer

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

Atlassian Community Events