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:
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.