Template for API Controller