Class SystemInfoController

java.lang.Object
edu.ucsb.cs156.happiercows.controllers.ApiController
edu.ucsb.cs156.happiercows.controllers.SystemInfoController

@RequestMapping("/api/systemInfo") @RestController public class SystemInfoController extends ApiController
  • Constructor Details

    • SystemInfoController

      public SystemInfoController()
  • Method Details

    • getSystemInfo

      @PreAuthorize("hasRole(\'ROLE_ADMIN\')") @GetMapping("") public SystemInfo getSystemInfo()