Forums

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

API to obtain a previous version of a Confluence page content appears broken

Cliff Berg
Contributor
March 7, 2023

It appears that the ability to use the API to obtain a previous version of a Confluence page content has been broken. I have been trying every possible way for the last few days. I have followed what has been suggested here, two years back:

 

but it does not work. And I have tried is the the {id}/version/{version} syntax as well. I always get "Not found" - even though I can pull it up in a browser using the same URL.
I am using the exact same syntax to get the latest version:
const curVersPageResponse = await  api.asApp().requestConfluence( route`/wiki${curContentRoute}`, {
headers: {
'Accept': 'application/json'
}
});
but when I append
/version/{version}
or
?status=historical&version=${prevVersion}
it does not work.

0 answers

Suggest an answer

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

Atlassian Community Events