It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get list of all versions of files or pages using api

I have the lastest Confluence Server and want to get the list of all versions as any page or attachments are updated. I tried but I didn't get any API to get all versions. Please help me.

I have 5 versions of a page, I want to list out all versions of this page.

1 answer

1 accepted

0 votes
Answer accepted
Dominic Lagger Community Leader Feb 25, 2020

Hi @Mahesh_Kumar_Yadav 

This is a tricky one. The official API does not seem to offer this possibility. The only thing I found was: https://docs.atlassian.com/ConfluenceServer/rest/7.2.0/#api/content-getHistory

But, I searched the community and found this post.

You can try this: 

<server>/rest/experimental/content/<page_id>/version?expand=content 

As described, it is experimental and I don't know if this will ever become official.

Regards, Dominic

Thank you very much @Dominic Lagger , It's working fine.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,435 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you