Refactored REST API guide