How to get changes in page history via REST API

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!
March 16, 2020



I'm currently monitoring Confluence activity via the rest API.  I am able to collect dates, users, and page ids of all activity with a specific date range.  In addition to this, I need to pull the changes made to a page related to that activity.

Current I'm able to pull both the HTML of the new version as a result of the change and the HTML of the previous version via the below API call.


Using this information, I could design a Python script using difflib that could decipher the differences in the HTML, but this is too computationally expensive to run on many large confluence pages.

On the Confluence web application, there's a page to view the difference between two versions via this link: pages/diffpagesbyversion.action.  This page highlights the additions and reductions in the page.

Given that this information is available via the web application, I was wondering if there was an API call to pull just the difference between two versions?  

1 answer

0 votes
Fabio Racobaldo _Herzum_
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 20, 2023

Hi @Jack_Moore ,

unfortunately there's not a specific REST API to retrieve that information. You can retrieve specific content version and then compare json (


john wick June 25, 2024


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events