Class SystemInfoController

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

@RequestMapping("/api/systemInfo") @RestController public class SystemInfoController extends ApiController
SystemInfoController returns information about the application; typically the values of environment variables that may be needed by the frontend.
  • Constructor Details

    • SystemInfoController

      public SystemInfoController()
  • Method Details

    • getSystemInfo

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