This is my first post in this community and I am writing because I am relatively new developer when it comes to Hippo and I am looking for resources for my latest task.
I am building an audit feature for an application that wants a detailed history of all edits done to documents that we store in hippo. Does anyone have any referencing material that can detail the best way to collect this information? Any suggestions would be greatly appreciated!
Thanks so much,
Welcome in our community!
The history of documents is retained in the JCR versions below
/jcr:system/jcr:versionStorage. Documents reference it by the jcr:versionHistory property and it can be retrieved though JCR API using methods like node
The system comes out of the box with a script to clean up the version history, see , perhaps you can learn from that.
This is the basics, next step is to expose the information safely, probably through a REST api?
Thank you very much for your reply! This looks like exactly the information I was looking for. I will start digging here and see what I can find.
Yes, that is the plan exactly. After I can get the revision history information that I need, I will expose access to that information in a RESTful api.
Your help is much appreciated. Thanks for the warm welcome into the Hippo community.