The public API contains events and some other classes to be used for extensions to Scroll Versions.
Is there an update for a REST API to enable Scroll versions remotely?
There is not an official, documented REST API yet, but you can have a look at the requests sent by the browser to the server.
Also, please watch this issue, to get updates on the official Java and REST API.
In case it helps, I too have a very clear use case for using a (REST) API. My company generates documentation from code, and a new version of this documentation should be kept for every release of our software. I'm already using a couple of unofficial REST routes:
/rest/scroll-versions/1.0/versions/<space> to find which versions (and IDs) are available
/rest/scroll-versions/1.0/pagetree/<space> to build an index of which pages are already versioned
/rest/scroll-versions/1.0/page/new/<space> to create a new document in Versions
/rest/scroll-versions/1.0/page/modify/<space> to update a document within an existing Version
Furthermore, in the future I would hope to
Set, or use an endpoint to set the scrollPageTitle so that I can apply duplicate page titles
Use an endpoint to create a new Version
in my case, we are trying to expose versioned confluence content to other platforms via API.
So calls like /rest/api/content/<pageid>?expand=body.view are great to get the page's published version, but we wish to be able to get it in specific variants.