Add REST api to Slide model.