I've seen how to recover the version history and how to revert to a previous version, but how can I recover the content of the previous versions to see it before I revert the node?
Still no solution found :-(. The history nodes has an UUID, however they can't be recovered as a normal node, so I can't read the content. The only operation allowed is revertVersion, but before doing a revert operation is really needed to be able to read the content of every version.
The reference found in the version history is a reference to the forzen state for that version.
This reference can be used like any other reference to a node and thus can be passed to the content service to retrieve the content of that node at that version.
- frozenNodeId: it's the UUID of the original content, if I try to get content of this UUID I obtain the content of the actual version. - node-uuid: this one is different, but if I try to get the content of this one produces a data not found error.
What is the reference I need to use and how it has to be used?