A Resthooks implementation