Refactored REST API URLs