Updated editor API endpoints to take flask-restless into account.