[Add] Added restful interface.