The RESTHeart API for plugins has been modified quite a lot since v3, but IMO it’s also simpler. My recommendation is to upgrade to the most recent version of RESTHeart anyway (today is v8).
I suggest to ask specific RESTHeart’s questions here: Issues · SoftInstigate/restheart · GitHub