Class SystemInfoController

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

@RequestMapping("/api/systemInfo") @RestController public class SystemInfoController extends ApiController
This is a REST controller for getting information about the system. It allows frontend access to some of the global values set in the backend of the application, some of which are set by environment variables. For more information see the SystemInfoService and SystemInfo classes.
See Also:
  • Constructor Details

    • SystemInfoController

      public SystemInfoController()
  • Method Details

    • getSystemInfo

      @GetMapping("") public SystemInfo getSystemInfo()
      This method returns the system information.
      Returns:
      the system information