change restful api