RESTful API endpoints defined