rest service to list all templates - @Get('/templates')