Implemented the remaining REST API functions