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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,429
Community Members
 
Community Events
184
Community Groups

How to fetch "View Change" in a Confluence page via an API

Edited

In Confluence, "Get content history" API returns "lastUpdated" and "previousVersion". What I need is to get "View Change" content. Is there any API to get this value?
Thanks

1 answer

1 accepted

0 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

Hi @Cyrus Shemshadi and welcome to the community,

I'm not sure such endpoint exists. What you can do is to take this endpoint https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version/#api-custom-content-custom-content-id-versions-get and compare the body of the version you want and then find the changes.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

If that helped you, kindly mark my answer as accepted, in order to help others in the community with similar questions. Much appreciated!

Dear Alex,
In your response, you suggested to use "Get version details for custom content version", and to compare the body of versions.
This is somehow what I could do with "Get content history". 
In both mentioned APIs, we have previous version and next version of page content as API outputs. Based on this, you 've suggested a similar solution to what I mentioned in my request. If I am wrong, I would be grateful if you would correct me.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

@Cyrus Shemshadi I haven't done the comparison among versions, but the endpoint you suggested is consider deprecated. Despite that, the answer to your initial question of your post, is that there isn't unfortunately any other endpoint which return the changes of a page, as I stated on my first comment. With that said, I hope that another user will be able to provide a workaround for you.

Be well!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events