diff + history for the rest api