Rest endpoints incorrect in previous commit.