Implemented restful interface