repo RESTful api adjustment