define my RESTful API