Implement REST actions for API