client RESTful interface